]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0fa3f537f959159838c74c1de35657cd59fc8c7a
tree0723bdf23cc4bc6074a711a2a4834bd0c5770c77
parentf0963d8b85cc4b60c25bd44def6d9c6c8b80a1cd
dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()

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

Fixes: 4bead32559cb ("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