merged.
Bruce
In message: [linux-yocto][linux-yocto v5.10/standard/nxp-sdk-5.10/nxp-soc &
v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] dmaengine: imx-sdma:
Drop the invocation of pm_runtime_get_sync() in sdma_load_firmware()
on 29/01/2022 Xiaolei Wang wrote:
> It makes no sense to invoke the pm_runtime_get_sync()
> for a platform which doesn't support runtime PM.
>
> Fixed commit 2da31cfd59da ("dmaengine: imx-sdma: Fix a hang
> when run dma test in imx8mq board")
> Signed-off-by: Xiaolei Wang <[email protected]>
> ---
> drivers/dma/imx-sdma.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index e61dd499c3dc..f83568b6fa84 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -2260,9 +2260,6 @@ static void sdma_load_firmware(const struct firmware
> *fw, void *context)
> goto err_firmware;
>
> memcpy(sdma->fw_data, fw->data, fw->size);
> -
> - if (!sdma->drvdata->pm_runtime)
> - pm_runtime_get_sync(sdma->dev);
> }
>
> err_firmware:
> --
> 2.25.1
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10896):
https://lists.yoctoproject.org/g/linux-yocto/message/10896
Mute This Topic: https://lists.yoctoproject.org/mt/88763904/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-