• S
    spi: imx: drop fallback to PIO · 99f1cf1c
    Sascha Hauer 提交于
    At the moment the driver decides to fallback to PIO mode the buffers
    are already mapped for DMA. It's a bug to access them with the CPU
    afterwards, so we cannot just fallback to PIO mode.
    It should not be necessary anyway, since we only use DMA when we
    verified that it's possible in the fist place, so when prep_slave_sg
    fails it's a bug, either in the SDMA driver or in the can_dma
    implementation.
    Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    99f1cf1c
spi-imx.c 33.9 KB