kernel-fxtec-pro1x/sound/soc/img
Qiushi Wu 951fba03cf ASoC: img-parallel-out: Fix a reference count leak
[ Upstream commit 6b9fbb073636906eee9fe4d4c05a4f445b9e2a23 ]

pm_runtime_get_sync() increments the runtime PM usage counter even
when it returns an error code, causing incorrect ref count if
pm_runtime_put_noidle() is not called in error handling paths.
Thus call pm_runtime_put_noidle() if pm_runtime_get_sync() fails.

Signed-off-by: Qiushi Wu <wu000273@umn.edu>
Link: https://lore.kernel.org/r/20200614033344.1814-1-wu000273@umn.edu
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:24:18 +02:00
..
img-i2s-in.c ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt 2020-09-03 11:24:18 +02:00
img-i2s-out.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
img-parallel-out.c ASoC: img-parallel-out: Fix a reference count leak 2020-09-03 11:24:18 +02:00
img-spdif-in.c ASoC: img-spdif-in: Add runtime PM 2017-10-09 09:43:47 +01:00
img-spdif-out.c ASoC: img-spdif-out: Add control of sys clock to runtime PM 2017-10-09 09:43:53 +01:00
Kconfig ASoC: img: Add driver for Pistachio internal DAC 2015-12-12 22:56:35 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pistachio-internal-dac.c ASoC: pistachio: replace codec to component 2018-02-12 11:08:03 +00:00