diff options
author | Krzysztof Kozlowski <[email protected]> | 2020-09-01 17:27:03 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-09-08 18:19:23 +0100 |
commit | 687a2e76186dcfa42f22c14b655c3fb159839e79 (patch) | |
tree | 6d5c535a68814a3f6e26f352352f82ee2eb06cfe /lib/mpi/mpi-mod.c | |
parent | 2abaad678575acd54e9939e1174becd82ecc884b (diff) |
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: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Chunyan Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions