diff options
author | Krzysztof Kozlowski <[email protected]> | 2023-05-17 18:37:50 +0200 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-05-29 10:49:46 +0530 |
commit | 217f5e0de397fafc94d25a8f7baf71920bea4a04 (patch) | |
tree | 94f1626840f6938d5fd8a8d60c5c0986bba3e69b /scripts/generate_rust_analyzer.py | |
parent | 9f9914b178a7935d2d94ee3e1bf55f2b42b18528 (diff) |
soundwire: debugfs: fix unbalanced pm_runtime_put()
If pm_runtime_resume_and_get() failed with -EACCES, the driver continued
execution and finally called pm_runtime_put_autosuspend(). Since
pm_runtime_resume_and_get() drops the usage counter on every error, this
lead to double decrement of that counter.
Fixes: b275bf45ba1d ("soundwire: debugfs: Switch to sdw_read_no_pm")
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions