ASoC: Add a cache_sync bit to the CODEC structure
commita3032b47c46920ed3f2fd58e64f484e3dab49f23
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Feb 2010 18:48:03 +0000 (1 18:48 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 4 Feb 2010 10:40:45 +0000 (4 10:40 +0000)
treecdc6099c15a31c6fa2bae26e38da7fde7a1a3aa1
parent8c961bcca1d10be4f2c06375eb561679167653a0
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>
include/sound/soc.h
sound/soc/soc-cache.c