diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2012-07-02 06:51:53 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-07-02 09:03:15 +0200 |
commit | dd864f20b382b131bfe10c87c5c81985f5bafa54 (patch) | |
tree | c9c984631aaa967a25ba186d96eae2766511f697 /drivers/usb/dwc3/gadget.c | |
parent | usb: dwc3: keep default hird threshold value as 4b1100 (diff) | |
download | linux-dd864f20b382b131bfe10c87c5c81985f5bafa54.tar.xz linux-dd864f20b382b131bfe10c87c5c81985f5bafa54.zip |
usb: dwc3: no need to clear INIT{U1,U2}ENA bits
as per databook, these bits are cleared by hardware on each USB reset,
so no need to clear it explicitly by software in reset ISR.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/gadget.c')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index f732f2ccb9b4..e7450931125a 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -2020,7 +2020,6 @@ static void dwc3_gadget_reset_interrupt(struct dwc3 *dwc) reg = dwc3_readl(dwc->regs, DWC3_DCTL); reg &= ~DWC3_DCTL_TSTCTRL_MASK; - reg &= ~(DWC3_DCTL_INITU1ENA | DWC3_DCTL_INITU2ENA); reg |= (DWC3_DCTL_ACCEPTU1ENA | DWC3_DCTL_ACCEPTU2ENA); dwc3_writel(dwc->regs, DWC3_DCTL, reg); dwc->test_mode = false; |