dmaengine: mmp_tdma: Log an error if channel is in wrong state
authorLubomir Rintel <lkundrak@v3.sk>
Sun, 19 Apr 2020 16:49:10 +0000 (18:49 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 23 Apr 2020 07:15:10 +0000 (12:45 +0530)
commit4719d4b71562182dcb86401898b0ee205ea28ee1
tree2c9b1edf82c1ccc5473244918d3156998a544ad0
parent0d8173f297dfedf1c11c7b6f9b1ec512c06d59a7
dmaengine: mmp_tdma: Log an error if channel is in wrong state

Let's log an error if the channel can't be prepared because it is in an
unexpected state.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200419164912.670973-6-lkundrak@v3.sk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mmp_tdma.c