aboutsummaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorzhangqilong2022-03-15 10:54:15 +0800
committerMark Brown2022-03-16 16:39:18 +0000
commitcc5d8ac95663a5813c696008bc524b794d471215 (patch)
treeea4862d35335de5d0eac89be7bc5a54f43564fba /LICENSES
parentd39664cb758e9e329ac3ba05bd4f813f928f63c2 (diff)
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 'LICENSES')
0 files changed, 0 insertions, 0 deletions