linux/sound/soc/stm
Zhang Qilong b9a0da5b2e
ASoC: stm32: dfsdm: Fix PM disable depth imbalance in stm32_adfsdm_probe
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 moving
pm_runtime_enable to the endding of stm32_adfsdm_probe.

Fixes:98e500a12f934 ("ASoC: stm32: dfsdm: add pm_runtime support for audio")

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Reviewed-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://lore.kernel.org/r/20220927142601.64266-2-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-09-27 18:16:43 +01:00
..
Kconfig ASoC: stm: depend on COMMON_CLK to fix compile tests 2020-11-23 20:39:48 +00:00
Makefile ASoC: stm32: add DFSDM DAI support 2018-01-10 10:52:05 +00:00
stm32_adfsdm.c ASoC: stm32: dfsdm: Fix PM disable depth imbalance in stm32_adfsdm_probe 2022-09-27 18:16:43 +01:00
stm32_i2s.c ASoC: stm32: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:20 +01:00
stm32_sai_sub.c ASoC: stm32: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:20 +01:00
stm32_sai.c ASoC: stm: Use dev_err_probe() helper 2021-12-20 12:47:23 +00:00
stm32_sai.h Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
stm32_spdifrx.c ASoC: stm32: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:20 +01:00