From: lyz Date: Tue, 2 Dec 2014 10:55:37 +0000 (+0800) Subject: usb: dwc_otg: fix incorrect bit operation X-Git-Tag: firefly_0821_release~4424 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aa443016ede229d5f63fcad66684a30bfe320293;p=firefly-linux-kernel-4.4.55.git usb: dwc_otg: fix incorrect bit operation --- diff --git a/drivers/usb/dwc_otg_310/dwc_otg_cil.c b/drivers/usb/dwc_otg_310/dwc_otg_cil.c index 89fdaa9e0a82..fc347d04615b 100755 --- a/drivers/usb/dwc_otg_310/dwc_otg_cil.c +++ b/drivers/usb/dwc_otg_310/dwc_otg_cil.c @@ -1974,7 +1974,7 @@ void dwc_otg_core_dev_init(dwc_otg_core_if_t *core_if) dwc_udelay(10); gahbcfg.b.hburstlen = DWC_GAHBCFG_INT_DMA_BURST_INCR8; - DWC_MODIFY_REG32(&global_regs->gahbcfg, 0, gahbcfg.b.hburstlen); + DWC_MODIFY_REG32(&global_regs->gahbcfg, 0, gahbcfg.d32); /* Device configuration register */ init_devspd(core_if);