diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-01 18:27:03 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-08 20:19:23 +0300 |
commit | 687a2e76186dcfa42f22c14b655c3fb159839e79 (patch) | |
tree | 6d5c535a68814a3f6e26f352352f82ee2eb06cfe /drivers/spi/spi-atmel.c | |
parent | 2abaad678575acd54e9939e1174becd82ecc884b (diff) | |
download | linux-687a2e76186dcfa42f22c14b655c3fb159839e79.tar.xz |
spi: sprd: Release DMA channel also on probe deferral
If dma_request_chan() for TX channel fails with EPROBE_DEFER, the RX
channel would not be released and on next re-probe it would be requested
second time.
Fixes: 386119bc7be9 ("spi: sprd: spi: sprd: Add DMA mode support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Link: https://lore.kernel.org/r/20200901152713.18629-1-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions