commit | 4f3e8d263d34e52e75b5adfa14811467d3033d8e | [log] [tgz] |
---|---|---|
author | Roger Quadros <rogerq@ti.com> | Tue Aug 07 16:09:56 2012 +0300 |
committer | Felipe Balbi <balbi@ti.com> | Tue Aug 07 16:16:34 2012 +0300 |
tree | 4316c907e4fcc85fa01bb80ed800a4180f1adc1b | |
parent | 8e8a55165469c99af0c24a276d997f9473dc89ab [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>