diff options
| author | Chris Packham <[email protected]> | 2024-10-30 19:49:20 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-11-01 14:48:53 +0000 |
| commit | 25d284715845a465a1a3693a09cf8b6ab8bd9caf (patch) | |
| tree | a560a9bb1a13c71cc97781d3013b985aaf9505d7 /drivers/spi/spi-qcom-qspi.c | |
| parent | spi: tegra210-quad: Avoid shift-out-of-bounds (diff) | |
| download | kernel-25d284715845a465a1a3693a09cf8b6ab8bd9caf.tar.gz kernel-25d284715845a465a1a3693a09cf8b6ab8bd9caf.zip | |
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/spi/spi-qcom-qspi.c')
0 files changed, 0 insertions, 0 deletions
