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 /include/sound | |
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 'include/sound')
-rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 55381fca6e0d..2f687edd4fde 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -560,6 +560,7 @@ struct snd_soc_codec { | |||
560 | unsigned int ac97_created:1; /* Codec has been created by SoC */ | 560 | unsigned int ac97_created:1; /* Codec has been created by SoC */ |
561 | unsigned int sysfs_registered:1; /* codec has been sysfs registered */ | 561 | unsigned int sysfs_registered:1; /* codec has been sysfs registered */ |
562 | unsigned int cache_init:1; /* codec cache has been initialized */ | 562 | unsigned int cache_init:1; /* codec cache has been initialized */ |
563 | unsigned int using_regmap:1; /* using regmap access */ | ||
563 | u32 cache_only; /* Suppress writes to hardware */ | 564 | u32 cache_only; /* Suppress writes to hardware */ |
564 | u32 cache_sync; /* Cache needs to be synced to hardware */ | 565 | u32 cache_sync; /* Cache needs to be synced to hardware */ |
565 | 566 | ||