android_kernel_xiaomi_sm7250/sound/soc
Zhang Qilong de2fbc0dab ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
[ Upstream commit fcbb60820cd3008bb44334a0395e5e57ccb77329 ]

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 wm5102_probe.

Fixes:93e8791dd34ca ("ASoC: wm5102: Initial driver")

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20220928160116.125020-4-zhangqilong3@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:19:28 +02:00
..
adi
amd
atmel ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek 2022-04-27 13:39:42 +02:00
au1x
bcm
cirrus
codecs ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe 2022-10-26 13:19:28 +02:00
davinci ASoC: ti: davinci-i2s: Add check for clk_enable() 2022-04-15 14:14:45 +02:00
dwc
fsl ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API 2022-10-26 13:19:27 +02:00
generic
hisilicon
img
intel ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output 2021-09-22 11:48:05 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe 2022-08-25 11:15:20 +02:00
meson
mxs ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe 2022-06-14 16:59:22 +02:00
nuc900
omap
pxa
qcom ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp() 2022-08-25 11:15:24 +02:00
rockchip ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B 2021-09-22 11:48:08 +02:00
samsung ASoC: samsung: idma: Check of ioremap return value 2022-01-27 09:04:23 +01:00
sh ASoC: fsi: Add check for clk_enable 2022-04-15 14:14:46 +02:00
sirf
spear
sti ASoC: sti: Fix deadlock via snd_pcm_stop_xrun() call 2022-03-28 08:41:43 +02:00
stm
sunxi
tegra
txx9
uniphier ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA 2022-01-27 09:04:22 +01:00
ux500
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-compress.c
soc-core.c ASoC: soc-core: skip zero num_dai component in searching dai name 2022-04-15 14:14:56 +02:00
soc-dapm.c ASoC: dapm: Don't fold register value changes into notifications 2022-06-14 16:59:16 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: Restore NULL prepare_slave_config() callback 2022-05-12 12:20:25 +02:00
soc-io.c
soc-jack.c
soc-ops.c ASoC: ops: Fix off by one in range control validation 2022-07-21 21:09:31 +02:00
soc-pcm.c ASoC: dpcm: prevent snd_soc_dpcm use after free 2022-01-27 09:04:31 +01:00
soc-topology.c ASoC: topology: Allow TLV control to be either read or write 2022-04-15 14:14:59 +02:00
soc-utils.c