Roger Quadros 4f3e8d263d 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>
2012-08-07 16:16:34 +03:00
..
2009-07-12 12:22:34 -07:00
2012-05-04 13:59:35 +03:00
2012-08-07 14:00:50 +03:00
2011-12-12 11:51:52 +02:00
2011-09-18 01:39:36 -07:00
2012-08-07 14:00:50 +03:00