]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: cppi41: Enable in device-TX mode
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 13 Aug 2013 17:38:24 +0000 (19:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 13 Aug 2013 19:21:42 +0000 (14:21 -0500)
commit4b12792eba9ff89dfb08c606828862e1e45b5d5d
treea1770b04903fcbf3e5b8823cc86cd2b41ece9384
parentc33ca09ef7a4596dc54983b609fb30303ec750ce
usb: musb: cppi41: Enable in device-TX mode

Since the musb-gadget code now calls the dma engine properly it is
possible to enable it for the TX path in device mode.
AM335x Advisory 1.0.13 says that we may lose the toggle bit on multiple
RX transfers. There is a workaround in host mode but none in device mode
and therefore RX transfers are disabled.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c