diff options
author | Chris Packham <[email protected]> | 2024-10-31 08:49:20 +1300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-11-01 14:48:53 +0000 |
commit | 25d284715845a465a1a3693a09cf8b6ab8bd9caf (patch) | |
tree | a560a9bb1a13c71cc97781d3013b985aaf9505d7 /drivers/platform/x86/intel/pmt/class.c | |
parent | f399051ec1ff02e74ae5c2517aed2cc486fd005b (diff) |
spi: spi-mem: rtl-snand: Correctly handle DMA transfers
The RTL9300 has some limitations on the maximum DMA transfers possible.
For reads this is 2080 bytes (520*4) for writes this is 520 bytes. Deal
with this by splitting transfers into appropriately sized parts.
Fixes: 42d20a6a61b8 ("spi: spi-mem: Add Realtek SPI-NAND controller")
Signed-off-by: Chris Packham <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions