]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: ste_dma40: fix pm runtime ref counting
authorRabin Vincent <rabin.vincent@stericsson.com>
Mon, 27 May 2013 14:03:40 +0000 (16:03 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 27 May 2013 14:20:32 +0000 (19:50 +0530)
commit9ecb41bd8cf002fd8f3e063db4df81647ddd623c
treee20ce03e504fad666359c65fb9224d806c4c6fad
parente4aa937ec75df0eea0bee03bffa3303ad36c986b
dmaengine: ste_dma40: fix pm runtime ref counting

The pm runtime reference counting of the driver is broken for the case
when there is more than one transfer queued, leading to the device being
runtime suspend while active.  Fix it.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ste_dma40.c