ASoC: Allow CODECs to ask soc-cache to suppress physical writes
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Feb 2010 18:46:10 +0000 (18:46 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Feb 2010 18:03:37 +0000 (18:03 +0000)
commit8c961bcca1d10be4f2c06375eb561679167653a0
tree568e0371807f25bf09d5948db1b798eb1ec49e01
parent0f69d9782c6e6a7b0e60113a850845bc642c3f4e
ASoC: Allow CODECs to ask soc-cache to suppress physical writes

Currently the soc-cache code will always write to the device, meaning
that we need the device to be powered and active at pretty much all
times the system is active.  Allowing cache only writes lays some
groundwork for future enhancements to allow devices to be put into a
full off state when the audio subsystem is idle.

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