summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-12-02 19:11:06 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-03 19:37:32 +0300
commitfdf0f54dab8e401fd9bdd441c3fc4fa5c8837646 (patch)
treea1d33d33931964c21765042e0ba53591b9c7b7a2 /include/sound
parent3335ddca9367675f4ee0bd50cc70402c4919a10d (diff)
downloadlinux-fdf0f54dab8e401fd9bdd441c3fc4fa5c8837646.tar.xz
ASoC: soc-core: Allow machine drivers to override compress_type
This patch allows machine drivers to override the compression type provided by the codec driver. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 017986159d5e..7d53cc453637 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -472,6 +472,7 @@ struct snd_soc_codec {
unsigned int ac97_registered:1; /* Codec has been AC97 registered */
unsigned int ac97_created:1; /* Codec has been created by SoC */
unsigned int sysfs_registered:1; /* codec has been sysfs registered */
+ unsigned int cache_init:1; /* codec cache has been initialized */
/* codec IO */
void *control_data; /* codec control (i2c/3wire) data */