summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/blackfin.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2012-08-07 15:09:56 +0200
committerFelipe Balbi <balbi@ti.com>2012-08-07 15:16:34 +0200
commit4f3e8d263d34e52e75b5adfa14811467d3033d8e (patch)
tree4316c907e4fcc85fa01bb80ed800a4180f1adc1b /drivers/usb/musb/blackfin.c
parentusb: musb: host: Handle highmem in PIO mode (diff)
downloadlinux-4f3e8d263d34e52e75b5adfa14811467d3033d8e.tar.xz
linux-4f3e8d263d34e52e75b5adfa14811467d3033d8e.zip
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/blackfin.c')
0 files changed, 0 insertions, 0 deletions