linux_dsm_epyc7002/sound
Qiushi Wu f141a42215
ASoC: rockchip: Fix a reference count leak.
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>
2020-06-18 17:21:58 +01:00
..
ac97
aoa
arm
atmel
core
drivers
firewire
hda ASoC: Intel: SOF: merge COMETLAKE_LP and COMETLAKE_H 2020-06-17 20:01:00 +01:00
i2c
isa
mips
oss
parisc
pci
pcmcia
ppc
sh
soc ASoC: rockchip: Fix a reference count leak. 2020-06-18 17:21:58 +01:00
sparc
spi
synth
usb
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c