]> 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>
Wed, 20 Apr 2022 07:08:30 +0000 (09:08 +0200)
commite05a6ae66d99ec297d8f90f58801bee4d1bae960
tree1452da0550e56af1fefc9aa05bda920a98fe88bd
parentf31fb76d175cd0aed650f81782b9ce77b5867ae8
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