diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-09-29 15:15:28 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-29 15:20:12 +0100 |
commit | e18f6bcf8e864ea0e9690691d0d749c662b6a2c7 (patch) | |
tree | a8c9d3d782985f5dc1d8c78be8bcc5835ec5d4e0 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
parent | 086ceada2107b482df437d76f581062b547eb7f2 (diff) | |
download | linux-e18f6bcf8e864ea0e9690691d0d749c662b6a2c7.tar.bz2 |
ASoC: wcd-mbhc-v2: Revert "ASoC: wcd-mbhc-v2: use pm_runtime_resume_and_get()"
This reverts commit ddea4bbf287b6028eaa15a185d0693856956ecf2 ("ASoC:
wcd-mbhc-v2: use pm_runtime_resume_and_get()"), because it introduced
double runtime PM put if pm_runtime_get_sync() returns -EACCES:
wcd934x-codec wcd934x-codec.3.auto: WCD934X Minor:0x1 Version:0x401
wcd934x-codec wcd934x-codec.3.auto: Runtime PM usage count underflow!
The commit claimed no changes in functionality except dropping the
reference on -EACCESS. This is exactly the change introducing bug
because function calls unconditionally pm_runtime_put_autosuspend() at
the end.
Fixes: ddea4bbf287b ("ASoC: wcd-mbhc-v2: use pm_runtime_resume_and_get()")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220929131528.217502-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions