diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-03 07:33:55 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-21 16:15:38 -0500 |
commit | 8a713da8d1ce9ceaf738b32e2b24f22d4432f886 (patch) | |
tree | c0fb13d21f18ed19c82e4d9214d440e34b0c474b /sound/soc/soc-io.c | |
parent | 278047fd654dde7ed95c8604fcefeeacc5c0bb2b (diff) |
ASoC: Use regmap update bits operation for drivers using regmap
If a driver is using regmap directly ensure that we're coherent with
non-ASoC register updates by using the regmap API directly to do our
read/modify/write cycles. This will bypass the ASoC cache but drivers
using regmap directly should not be using the ASoC cache.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-io.c')
-rw-r--r-- | sound/soc/soc-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-io.c b/sound/soc/soc-io.c index c8610cbf34a5..39ba5070ff92 100644 --- a/sound/soc/soc-io.c +++ b/sound/soc/soc-io.c | |||
@@ -140,6 +140,7 @@ int snd_soc_codec_set_cache_io(struct snd_soc_codec *codec, | |||
140 | 140 | ||
141 | case SND_SOC_REGMAP: | 141 | case SND_SOC_REGMAP: |
142 | /* Device has made its own regmap arrangements */ | 142 | /* Device has made its own regmap arrangements */ |
143 | codec->using_regmap = true; | ||
143 | break; | 144 | break; |
144 | 145 | ||
145 | default: | 146 | default: |