diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2020-12-17 10:45:56 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-17 17:24:45 +0300 |
commit | 349dd23931d1943b1083182e35715eba8b150fe1 (patch) | |
tree | 4fe1edffa8f35eb86a0e3efeff32b0913de87974 /sound/soc/qcom/lpass-cpu.c | |
parent | 6108f990c0887d3e8f1db2d13c7012e40a061f28 (diff) | |
download | linux-349dd23931d1943b1083182e35715eba8b150fe1.tar.xz |
ASoC: max98373: don't access volatile registers in bias level off
We will set regcache_cache_only true in suspend. As a result,
regmap_read will return error when we try to read volatile
registers in suspend. Besides, it doesn't make sense to read
feedback data when codec is not active. To make userspace
happy, this patch returns a cached value shich should be a
valid value.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20201217074556.32370-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-cpu.c')
0 files changed, 0 insertions, 0 deletions