diff options
author | Pratyush Anand <pratyush.anand@st.com> | 2012-07-02 10:21:54 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-07-02 10:03:55 +0300 |
commit | e274a31e29b6a097c32f526493f4ebce10856dcb (patch) | |
tree | 57bb5ca8df17d29a1873631e7400e3e6d2e1d99f /drivers/usb/dwc3/gadget.c | |
parent | dd864f20b382b131bfe10c87c5c81985f5bafa54 (diff) | |
download | linux-e274a31e29b6a097c32f526493f4ebce10856dcb.tar.gz linux-e274a31e29b6a097c32f526493f4ebce10856dcb.tar.bz2 linux-e274a31e29b6a097c32f526493f4ebce10856dcb.zip |
usb: dwc3: enable ACCEPT{U1,U2}ENA when SetConfiguration received
As per databook, ACCEPT{U1,U2}ENA bits should be set after receiving
SetConfiguration Command.
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 e7450931125a..39626e366a82 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_ACCEPTU1ENA | DWC3_DCTL_ACCEPTU2ENA); dwc3_writel(dwc->regs, DWC3_DCTL, reg); dwc->test_mode = false; |