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, 13 Apr 2022 18:03:25 +0000 (20:03 +0200)
commitd32c8205a3b3f03d3c0992810fb28291021bb54a
tree8a8db6dffee7080cf7f9b13c93dba6f88dc3e6e7
parentf01b4c37798214a78a6acfa7c378b1dbc5639279
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