diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-07-09 12:26:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-16 23:41:51 +0200 |
commit | 279d2378c9c4f05bbe41b55625b4003871026266 (patch) | |
tree | c07d111eb25b18e62addcd98e311013c8c0e486b /Documentation/SubmitChecklist | |
parent | spi: sh-msiof: SPI_SH_MSIOF should depend on HAS_DMA (diff) | |
download | linux-279d2378c9c4f05bbe41b55625b4003871026266.tar.xz linux-279d2378c9c4f05bbe41b55625b4003871026266.zip |
spi: sh-msiof: Handle dmaengine_prep_slave_single() 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_single() may start failing
arbitrarily.
Handle dmaengine_prep_slave_single() failures gracefully by falling back to
PIO. This requires moving DMA-specific configuration of the MSIOF device
after the call(s) to dmaengine_prep_slave_single().
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 'Documentation/SubmitChecklist')
0 files changed, 0 insertions, 0 deletions