diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-02-01 13:48:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-02-04 05:40:45 -0500 |
commit | a3032b47c46920ed3f2fd58e64f484e3dab49f23 (patch) | |
tree | cdc6099c15a31c6fa2bae26e38da7fde7a1a3aa1 /include/sound/soc.h | |
parent | 8c961bcca1d10be4f2c06375eb561679167653a0 (diff) |
ASoC: Add a cache_sync bit to the CODEC structure
Add a bit to the CODEC structure indicating if a cache sync is required.
By default this will be set if a cache only write is done to a soc-cache
register cache. This allows us to avoid syncing the cache back after
using cache only writes if there were no changes.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/soc.h')
-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 4e8f14bc8ed3..e6a6d10de1d3 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -424,6 +424,7 @@ struct snd_soc_codec { | |||
424 | 424 | ||
425 | unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */ | 425 | unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */ |
426 | unsigned int cache_only:1; /* Suppress writes to hardware */ | 426 | unsigned int cache_only:1; /* Suppress writes to hardware */ |
427 | unsigned int cache_sync:1; /* Cache needs to be synced to hardware */ | ||
427 | 428 | ||
428 | /* dapm */ | 429 | /* dapm */ |
429 | u32 pop_time; | 430 | u32 pop_time; |