Bard Liao cf51b6145b ASoC: rt711: add snd_soc_component remove callback
[ Upstream commit 899b12542b0897f92de9ba30944937c39ebb246d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-04-07 15:00:06 +02:00
..
2021-03-25 09:04:04 +01:00
2021-03-25 09:04:04 +01:00
2018-02-27 10:41:34 +00:00
2020-01-07 22:29:38 +00:00
2020-10-15 11:07:44 -07:00
2018-04-26 12:44:15 +01:00
2020-03-23 18:17:22 +00:00
2019-06-12 13:52:26 +01:00
2020-10-15 11:07:44 -07:00
2020-01-10 13:31:49 +00:00
2020-10-15 11:07:44 -07:00
2020-01-09 21:22:36 +00:00
2020-10-15 11:07:44 -07:00
2020-09-10 12:49:44 +01:00
2020-05-07 13:18:04 +01:00
2020-05-07 13:18:04 +01:00
2020-10-15 11:07:44 -07:00
2019-07-26 13:10:09 +01:00
2020-10-15 11:07:44 -07:00
2018-05-18 11:20:11 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-02 21:05:29 +01:00
2020-05-04 19:23:59 +01:00
2020-05-26 10:55:37 +01:00