diff options
author | Anand Gadiyar <gadiyar@ti.com> | 2011-07-19 22:11:58 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 13:08:17 +0300 |
commit | 0ae52d5458ddb14d5da63054f1d8269a13fe9054 (patch) | |
tree | 7b635762c46ee3b94c3e0f0e9d43d9718e68e4ef /drivers/edac/edac_device_sysfs.c | |
parent | b3c3dc22366b15350281b1c273adecd2b91e320f (diff) |
usb: musb: Enable DMA mode1 RX for transfers without short packets
This patch enables DMA mode1 for the RX path when we know
there won't be any short packets. We check that by looking
into the short_no_ok flag, if it's true we enable mode1, otherwise
we use mode0 to transfer the data.
This will result in a throughput performance gain of around
40% for USB mass-storage/mtp use cases.
[ balbi@ti.com : updated commit log and code comments slightly ]
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Tested-by: Vikram Pandita <vikram.pandita@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/edac/edac_device_sysfs.c')
0 files changed, 0 insertions, 0 deletions