Re: [PATCH 01/11] spi: sprd: Release DMA channel also on probe deferral

2020-09-08 Thread Mark Brown
On Tue, 1 Sep 2020 17:27:03 +0200, Krzysztof Kozlowski wrote: > 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. Applied to

Re: [PATCH 01/11] spi: sprd: Release DMA channel also on probe deferral

2020-09-08 Thread Chunyan Zhang
On Tue, 1 Sep 2020 at 23:27, Krzysztof Kozlowski wrote: > > 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:

[PATCH 01/11] spi: sprd: Release DMA channel also on probe deferral

2020-09-01 Thread Krzysztof Kozlowski
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: Signed-off-by: Krzysztof Kozlowski --- drivers/spi/spi-sprd.c | 2 +-