spi: atmel: Fix PDC transfer setup bug
Mark Brown
maintainerQuoted 7 lines · Ville Baillie
Commit
5fa5e6dec762("spi: atmel: Switch totransfer_onetransfer method") refactored the code and changed a conditional causingatmel_spi_dma_map_xferto never be called in PDC mode. This causes the driver to silently fail.This patch changes the conditional to match the behaviour of the previous commit before the refactor.
This doesn't apply against current code, please check and resend.