Skip to content
Unverified Commit 75e33c55 authored by Ville Baillie's avatar Ville Baillie Committed by Mark Brown
Browse files

spi: atmel: Fix PDC transfer setup bug



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.

Fixes: 5fa5e6de ("spi: atmel: Switch to transfer_one transfer method")
Signed-off-by: default avatarVille Baillie <villeb@bytesnap.co.uk>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210921072132.21831-1-villeb@bytesnap.co.uk


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 59c4e190
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment