summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-qup.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2014-07-09 12:26:22 +0200
committerMark Brown2014-07-16 23:41:12 +0200
commit85912a88c1ebcad04a5cfec971771195ce8d6691 (patch)
treec52411154cd1c2443f9c51cc43fbdd324853c6f6 /drivers/spi/spi-qup.c
parentspi: rspi: Relax DMA dependency and increase build coverage (diff)
downloadkernel-qcow2-linux-85912a88c1ebcad04a5cfec971771195ce8d6691.tar.gz
kernel-qcow2-linux-85912a88c1ebcad04a5cfec971771195ce8d6691.tar.xz
kernel-qcow2-linux-85912a88c1ebcad04a5cfec971771195ce8d6691.zip
spi: rspi: Handle dmaengine_prep_slave_sg() failures gracefully
As typically a shmobile SoC has less DMA channels than devices that can use DMA, we may want to prioritize access to the DMA channels in the future. This means that dmaengine_prep_slave_sg() may start failing arbitrarily. Handle dmaengine_prep_slave_sg() failures gracefully by falling back to PIO. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-qup.c')
0 files changed, 0 insertions, 0 deletions