summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorzhangqilong <zhangqilong3@huawei.com>2022-03-15 03:54:15 +0100
committerMark Brown <broonie@kernel.org>2022-03-16 17:39:18 +0100
commitcc5d8ac95663a5813c696008bc524b794d471215 (patch)
treeea4862d35335de5d0eac89be7bc5a54f43564fba /sound/soc/atmel
parentASoC: samsung: i2s: check the return value of kstrdup() (diff)
downloadlinux-cc5d8ac95663a5813c696008bc524b794d471215.tar.xz
linux-cc5d8ac95663a5813c696008bc524b794d471215.zip
ASoC: rockchip: Fix PM usage reference of rockchip_i2s_tdm_resume
pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. We fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced. Fixes:081068fd64140 ("ASoC: rockchip: add support for i2s-tdm controller") Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Link: https://lore.kernel.org/r/20220315025415.2593762-1-zhangqilong3@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions