diff options
author | Geert Uytterhoeven <[email protected]> | 2014-07-09 12:26:22 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-07-16 22:41:12 +0100 |
commit | 85912a88c1ebcad04a5cfec971771195ce8d6691 (patch) | |
tree | c52411154cd1c2443f9c51cc43fbdd324853c6f6 /net/lapb/lapb_subr.c | |
parent | 533465a8f8a969bac17550fc6f42cea1dfaa095f (diff) |
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 <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions