[PATCH v1 0/2] spi: Make dummy SG handling robust

From: Andy Shevchenko
Date: Fri May 31 2024 - 05:47:17 EST


There's an unreliable code to handle DMA mappings on unidirection transfers.
This series does two things:
- it reverts the seemingly unnecessary change
- it reworks dummy SG list handling

There is no need to backport that AFAIU, but no harm to apply for v6.10 aka
the current release cycle. Guys, please test these.

Andy Shevchenko (2):
spi: Revert "Check if transfer is mapped before calling DMA sync APIs"
spi: Do not rely on the SG table and respective API implementations

drivers/spi/spi.c | 46 +++++++++++++++++-----------------------------
1 file changed, 17 insertions(+), 29 deletions(-)

--
2.45.1