]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
authorVinod Koul <vkoul@kernel.org>
Thu, 10 Mar 2022 04:43:20 +0000 (10:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 12:15:06 +0000 (14:15 +0200)
commit2ea1bc78fba954980873c2d05c3ea4707828ee0f
tree7d2e77eb5416deb436eb6d2d1160abb78be53463
parentc3cd98867a9df56a78ddb8ae413df17df84d9998
dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"

commit d143f939a95696d38ff800ada14402fa50ebbd6c upstream.

This reverts commit 455896c53d5b ("dmaengine: shdma: Fix runtime PM
imbalance on error") as the patch wrongly reduced the count on error and
did not bail out. So drop the count by reverting the patch .

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/dma/sh/shdma-base.c