Re: [PATCH] ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe

2023-10-08 Thread Shengjiu Wang
On Wed, Oct 4, 2023 at 3:12 PM Zhang Shurong wrote: > > The pm_runtime_enable will increase power disable depth. Thus > a pairing decrement is needed on the error handling path to > keep it balanced according to context. We fix it by calling > pm_runtime_disable when error returns. > Please add a

[PATCH] ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe

2023-10-04 Thread Zhang Shurong
The pm_runtime_enable will increase power disable depth. Thus a pairing decrement is needed on the error handling path to keep it balanced according to context. We fix it by calling pm_runtime_disable when error returns. Signed-off-by: Zhang Shurong --- sound/soc/fsl/fsl_easrc.c | 8 ++-- 1