aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorSergei Antonov <[email protected]>2023-02-10 17:38:43 +0300
committerUlf Hansson <[email protected]>2023-02-15 13:24:03 +0100
commit16b492ce0a55735ed6f4c19ee9fb767badb3f19a (patch)
tree01ab2290fb1843c642c3a0ae7bea9a60621bf57e /drivers/usb/cdns3/cdns3-debug.h
parent08623d741e94dc9ca033ecb8d04312960a105377 (diff)
mmc: moxart: set maximum request/block/segment sizes
Per datasheet: maximum block length is 2048 bytes, data length field is in bits 0-23 of the Data Length Register. Also for DMA mode we have to take into account rx/tx buffers' sizes. In my tests this change doubles SD card I/O performance on big files. Before the change Linux used default request size of 4 KB. Signed-off-by: Sergei Antonov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions