diff options
author | Roger Quadros <rogerq@ti.com> | 2012-08-07 17:09:56 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-07 17:16:34 +0400 |
commit | 4f3e8d263d34e52e75b5adfa14811467d3033d8e (patch) | |
tree | 4316c907e4fcc85fa01bb80ed800a4180f1adc1b /drivers/video | |
parent | 8e8a55165469c99af0c24a276d997f9473dc89ab (diff) | |
download | linux-4f3e8d263d34e52e75b5adfa14811467d3033d8e.tar.xz |
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/video')
0 files changed, 0 insertions, 0 deletions