diff options
author | Avinash Kumar <avinash.kumar@stericsson.com> | 2011-01-15 17:23:27 +0530 |
---|---|---|
committer | Henrik Öhman <henrik.ohman@stericsson.com> | 2011-03-07 10:16:28 +0100 |
commit | e46f5817d970ce2c118957f04b63a7e8f65e7dbf (patch) | |
tree | 34b8f04095f064731b9a4b738ae639cef43655f3 | |
parent | c91e2b989e75d58c9cedd931561628720aace263 (diff) |
USB : Core : EthernetGLK-2.6.35_w111.5
Enable DMA only for Endpoint 3 to support mass storage and disable DMA
for Ethernet and ACM device. we suspect hardware issues in data tx/rx.
this fixes telnet over USB ethernet issue.
ST-Ericsson ID - 318384
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Change-Id: I6d1ccd849283d4e81a7f4e5b6f7a96656a611d30
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12555
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com>
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index d55b68c8b0d..6ac21a955c0 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c @@ -106,11 +106,11 @@ static inline bool musb_gadget_use_dma(int ep) { /* - * Enable DMA only for Endpoint 1 to support mass + * Enable DMA only for Endpoint 3 to support mass * storage and disable DMA for other endpoints as * we suspect hardware issues in data tx/rx. */ - return ep == 1; + return ep == 3; } #endif |