Skip to contentSkip to conversation

spi: atmel: Fix PDC transfer setup bug

PATCH Mark Brown 1 participant 1 message Sep 20, 2021 SPI

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw
Quoted 7 lines · Ville Baillie

Commit 5fa5e6dec762 ("spi: atmel: Switch to transfer_one transfer method") refactored the code and changed a conditional causing atmel_spi_dma_map_xfer to 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.