dmaengine: mediatek: drop bogus pm_runtime_set_active()
authorJohan Hovold <johan+linaro@kernel.org>
Thu, 22 Jun 2023 07:51:50 +0000 (09:51 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jul 2023 16:54:01 +0000 (22:24 +0530)
commitecc3cfc31f33c88cb9fa8fd1fcfc8a86e4b7b18b
tree60df5dab296e25cf78f53f8472bde7f2c131a6e0
parent3533913ae5390f02ba3db989ad3bfed23f436d57
dmaengine: mediatek: drop bogus pm_runtime_set_active()

The runtime PM state must be updated while runtime PM is disabled for
the change to take effect.

Drop the bogus pm_runtime_set_active() which left the PM state set to
suspended (as it should be or the clock would not be enabled when the
device is resumed).

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230622075150.885-1-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-uart-apdma.c