merged.

Bruce

In message: [linux-yocto][v6.6/standard/nxp-sdk-6.6/nxp-soc & 
v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc][PATCH] ASoC: fsl_ssi: When probe 
fails, disable runtime
on 28/06/2024 Xiaolei Wang wrote:

> From: Xiaolei wang <xiaolei.w...@windriver.com>
> 
> When probe fails, disable runtime, commit 6eb1453fde64
> ("LF-106: ASoC: fsl_ssi: request BUS_FREQ_AUDIO") introduces
> a problem. When PROVE_LOCKING is turned on, the system will
> randomly freeze at startup. This is related to AUDIO BUSFREQ.
> Since IMX_SDMA is compiled as 'M', fsl_ssi will fail to probe,
> but this does not disable runtime. It still operates the clock,
> causing the system to randomly freeze without any trace.
> Therefore, fix this problem to avoid random system exceptions.
> 
> Signed-off-by: Xiaolei wang <xiaolei.w...@windriver.com>
> ---
>  sound/soc/fsl/fsl_ssi.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
> index 5b49ab260ff9..ceea5360c756 100644
> --- a/sound/soc/fsl/fsl_ssi.c
> +++ b/sound/soc/fsl/fsl_ssi.c
> @@ -1596,7 +1596,7 @@ static int fsl_ssi_probe(struct platform_device *pdev)
>       }
>  
>       dev_set_drvdata(dev, ssi);
> -     pm_runtime_enable(&pdev->dev);
> +     devm_pm_runtime_enable(&pdev->dev);
>  
>       if (ssi->soc->imx) {
>               ret = fsl_ssi_imx_probe(pdev, ssi, iomem);
> -- 
> 2.25.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14113): 
https://lists.yoctoproject.org/g/linux-yocto/message/14113
Mute This Topic: https://lists.yoctoproject.org/mt/106928999/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to