DMA: pl330: Fixed wrong operation in pl330 interrupt handler
authorSoohyun Kim <soohyuni.kim@samsung.com>
Fri, 4 Jul 2014 07:18:24 +0000 (16:18 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:21:49 +0000 (20:21 +0300)
commitc2bf05c6ad75f8f7b28bfd81e2329c1da9d4beb6
treeffc2e8558d015efb61c065210968c2e40f1463b6
parent8b79881f64d48cb6f93af14f341e8dabf3377b28
DMA: pl330: Fixed wrong operation in pl330 interrupt handler

Channel release operation can occur while running interrupt handler.
It can causes the various side effect. This patch is adding
check usage count to avoid above problem.

Change-Id: I45a68b49837bd5abdb9a7404f2441e94393f2afe
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
Signed-off-by: Seokju Yoon <sukju.yoon@samsung.com>
drivers/dma/pl330.c