summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2012-08-07 16:09:56 +0300
committerFelipe Balbi <balbi@ti.com>2012-08-07 16:16:34 +0300
commit4f3e8d263d34e52e75b5adfa14811467d3033d8e (patch)
tree4316c907e4fcc85fa01bb80ed800a4180f1adc1b /drivers/usb/musb/omap2430.c
parent8e8a55165469c99af0c24a276d997f9473dc89ab (diff)
usb: musb: use DMA mode 1 whenever possible
Do not rely on any hints from gadget drivers and use DMA mode 1 whenever we expect data of at least the endpoint's packet size and have not yet received a short packet. The last packet if short is always transferred using DMA mode 0. This patch fixes USB throughput issues in mass storage mode for host to device transfers. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
0 files changed, 0 insertions, 0 deletions