diff options
author | Bard Liao <[email protected]> | 2020-12-17 15:45:56 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-12-17 14:24:45 +0000 |
commit | 349dd23931d1943b1083182e35715eba8b150fe1 (patch) | |
tree | 4fe1edffa8f35eb86a0e3efeff32b0913de87974 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6108f990c0887d3e8f1db2d13c7012e40a061f28 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions