From: Geert Uytterhoeven Date: Wed, 9 Jul 2014 10:26:22 +0000 (+0200) Subject: spi: rspi: Handle dmaengine_prep_slave_sg() failures gracefully X-Git-Tag: cleanup-for-v3.18~116^2~1^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85912a88c1ebcad04a5cfec971771195ce8d6691;p=pandora-kernel.git 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 Acked-by: Laurent Pinchart Signed-off-by: Mark Brown --- Reading git-diff-tree failed