android_kernel_xiaomi_sm8350/sound/soc/rockchip
Qiushi Wu 9e89c2d5da 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 15:36:57 -04:00
..
Kconfig
Makefile
rk3288_hdmi_analog.c
rk3399_gru_sound.c drivers: Introduce device lookup variants by of_node 2019-07-30 13:07:41 +02:00
rockchip_i2s.c ASoc: rockchip: i2s: Fix RPM imbalance 2019-10-03 14:32:13 +01:00
rockchip_i2s.h
rockchip_max98090.c ASoC: rockchip: rockchip_max98090: Enable SHDN to fix headset detection 2019-10-28 13:11:21 +00:00
rockchip_pcm.c
rockchip_pcm.h
rockchip_pdm.c ASoC: rockchip: Fix a reference count leak. 2020-06-30 15:36:57 -04:00
rockchip_pdm.h
rockchip_rt5645.c
rockchip_spdif.c
rockchip_spdif.h