diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-12-16 11:39:11 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-01-03 04:48:13 +0100 |
commit | 5c9e6c2b2ba3ec3a442e2fb5b4286498f8b4dcb7 (patch) | |
tree | ba2f263edabd16591dc66a28eb133f999556acb2 /mm/mmzone.c | |
parent | MAINTAINERS: dmaengine: Update + Hand over the at_hdmac driver to Ludovic (diff) | |
download | linux-5c9e6c2b2ba3ec3a442e2fb5b4286498f8b4dcb7.tar.xz linux-5c9e6c2b2ba3ec3a442e2fb5b4286498f8b4dcb7.zip |
dmaengine: pl330: Fix runtime PM support for terminated transfers
PL330 DMA engine driver is leaking a runtime reference after any terminated
DMA transactions. This patch fixes this issue by tracking runtime PM state
of the device and making additional call to pm_runtime_put() in terminate_all
callback if needed.
Fixes: ae43b3289186 ("ARM: 8202/1: dmaengine: pl330: Add runtime Power Management support v12")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions