diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2021-03-16 03:52:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-16 16:24:15 +0300 |
commit | 899b12542b0897f92de9ba30944937c39ebb246d (patch) | |
tree | 43750bf0a7ee55b7be3d501bb4c37c60d2cb498e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8d06b9633a66f41fed520f6eebd163189518ba79 (diff) | |
download | linux-899b12542b0897f92de9ba30944937c39ebb246d.tar.xz |
ASoC: rt711: add snd_soc_component remove callback
We do some IO operations in the snd_soc_component_set_jack callback
function and snd_soc_component_set_jack() will be called when soc
component is removed. However, we should not access SoundWire registers
when the bus is suspended.
So set regcache_cache_only(regmap, true) to avoid accessing in the
soc component removal process.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20210316005254.29699-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions