diff options
author | Neil Zhang <zhangwm@marvell.com> | 2012-07-10 04:07:04 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-23 10:04:15 +0200 |
commit | 583a7263c7ed05c9a625d50950551ba5749c9379 (patch) | |
tree | 5bf4d890654609ba49fdf7ac1eeaccee95bcd8d7 | |
parent | usb: gadget: mv_udc: avoid sleeping on spinlock (diff) | |
download | linux-583a7263c7ed05c9a625d50950551ba5749c9379.tar.xz linux-583a7263c7ed05c9a625d50950551ba5749c9379.zip |
usb: gadget: mv_udc: enable stream mode
According to ChipIdea's reference manual in section 8.5.2
"Non-streaming operational mode in device mode", we'd better enable stream
mode, especially that ISO endpoints are not supported when the SDIS bit
is set.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/mv_udc_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index 425a204d29c2..4d3a4136b376 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c @@ -1082,7 +1082,7 @@ static int udc_reset(struct mv_udc *udc) tmp |= USBMODE_CTRL_MODE_DEVICE; /* turn setup lockout off, require setup tripwire in usbcmd */ - tmp |= USBMODE_SETUP_LOCK_OFF | USBMODE_STREAM_DISABLE; + tmp |= USBMODE_SETUP_LOCK_OFF; writel(tmp, &udc->op_regs->usbmode); |