acrn-kernel/sound/soc/img
Qiushi Wu 6b9fbb0736
ASoC: img-parallel-out: Fix a reference count leak
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>
2020-06-15 20:58:35 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
img-i2s-in.c ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt 2020-06-15 20:58:34 +01:00
img-i2s-out.c ASoC: img-i2s-out: Fix runtime PM imbalance on error 2020-05-29 13:30:04 +01:00
img-parallel-out.c ASoC: img-parallel-out: Fix a reference count leak 2020-06-15 20:58:35 +01:00
img-spdif-in.c ASoC: img-spdif-in: Fix runtime PM imbalance on error 2020-05-27 14:48:53 +01:00
img-spdif-out.c ASoC: img-spdif-out: Fix runtime PM imbalance on error 2020-05-27 14:48:50 +01:00
pistachio-internal-dac.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00