diff options
author | zhangqilong <zhangqilong3@huawei.com> | 2022-03-15 05:54:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-16 19:39:18 +0300 |
commit | cc5d8ac95663a5813c696008bc524b794d471215 (patch) | |
tree | ea4862d35335de5d0eac89be7bc5a54f43564fba /scripts/gdb/linux/lists.py | |
parent | d39664cb758e9e329ac3ba05bd4f813f928f63c2 (diff) | |
download | linux-cc5d8ac95663a5813c696008bc524b794d471215.tar.xz |
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 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions