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)
committerTaekki Kim <taekki.kim@samsung.com>
Mon, 14 May 2018 05:42:46 +0000 (14:42 +0900)
commiteb7bb1226526640cfaef6f44ad18c704212d90ef
tree85c8a2ffac0973fde8435834fdd2a450e3339dca
parentd8dd3c304a05cf60f5de25154b445e610bd207f4
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