dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Feb 2020 14:40:50 +0000 (17:40 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 24 Feb 2020 16:29:45 +0000 (21:59 +0530)
commit36d5d22090d13fd3a7a8c9663a711cbe6970aac8
tree0723bdf23cc4bc6074a711a2a4834bd0c5770c77
parent2d0b1919457ad78036f24169968cadc6f55d37ec
dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()

The caller is already holding the lock so this will deadlock.

Fixes: 0b58828c923e ("DMAENGINE: COH 901 318 remove irq counting")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20200217144050.3i4ymbytogod4ijn@kili.mountain
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/coh901318.c