kernel-fxtec-pro1x/sound/soc
Qiushi Wu df58889128 ASoC: rockchip: Fix a reference count leak.
[ Upstream commit f141a422159a199f4c8dedb7e0df55b3b2cf16cd ]

Calling pm_runtime_get_sync increments the counter even in case of
failure, causing incorrect ref count if pm_runtime_put is not called in
error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails.

Fixes: fc05a5b222 ("ASoC: rockchip: add support for pdm controller")
Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20200613205158.27296-1-wu000273@umn.edu
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-06-30 23:17:11 -04:00
..
adi
amd
atmel
au1x
bcm
cirrus
codecs ASoC: rt5645: Add platform-data for Asus T101HA 2020-06-25 15:33:04 +02:00
davinci ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type 2020-06-25 15:32:48 +02:00
dwc
fsl ASoC: fsl_ssi: Fix bclk calculation for mono channel 2020-06-30 23:17:10 -04:00
generic
hisilicon
img ASoC: fix incomplete error-handling in img_i2s_in_probe. 2020-06-25 15:32:59 +02:00
intel ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet 2020-06-25 15:33:04 +02:00
jz4740
kirkwood
mediatek
meson ASoC: meson: add missing free_irq() in error path 2020-06-25 15:32:52 +02:00
mxs
nuc900
omap
pxa
qcom ASoC: q6asm: handle EOS correctly 2020-06-30 23:17:10 -04:00
rockchip ASoC: rockchip: Fix a reference count leak. 2020-06-30 23:17:11 -04:00
samsung
sh ASoC: rsnd: Fix "status check failed" spam for multi-SSI 2020-05-10 10:30:09 +02:00
sirf
spear
sti
stm
sunxi
tegra ASoC: tegra: tegra_wm8903: Support nvidia, headset property 2020-06-25 15:32:47 +02:00
txx9
uniphier
ux500
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-compress.c
soc-core.c ASoC: core: only convert non DPCM link to DPCM link 2020-06-25 15:33:04 +02:00
soc-dapm.c ASoC: dapm: fixup dapm kcontrol widget 2020-04-29 16:31:31 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c
soc-topology.c ASoC: topology: Check return value of pcm_new_ver 2020-05-10 10:30:06 +02:00
soc-utils.c