diff options
author | Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> | 2022-03-22 19:18:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-05 12:23:07 +0300 |
commit | 1a8ee4cf84187bce17c76886eb6dd9389c3b99a8 (patch) | |
tree | 40aebb337171a6aff2af976d56bc2216b1033f4c /sound/Kconfig | |
parent | 9b014266ef8ad0159b39920a752f191bcd6f356c (diff) | |
download | linux-1a8ee4cf84187bce17c76886eb6dd9389c3b99a8.tar.xz |
ASoC: codecs: Fix error handling in power domain init and exit handlers
Update error handling in power domain init and exit handlers, as existing handling
may cause issues in device remove function.
Use appropriate pm core api for power domain get and sync to avoid redundant code.
Fixes: 9e3d83c52844 ("ASoC: codecs: Add power domains support in digital macro codecs")
Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com>
Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com>
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1647965937-32203-1-git-send-email-quic_srivasam@quicinc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/Kconfig')
0 files changed, 0 insertions, 0 deletions