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:59:26 +0000 (20:59 +0200)
commit104bfa23a00120f07b4881e6441bfb4c91a9c89a
treeb117e08b34135740c1370e8e8a3d68d3515604e6
parent3c3a8e56553e427eb07dc69dcaca8a409ab6323b
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