summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-12-02 14:53:02 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-03 16:36:23 +0000
commit119bd789f6405b8bf351b58561d08d8fc4e2d10b (patch)
treefc10682f819d97c6358fc6832037796b7a6754f4 /include/sound/soc.h
parent23bbce34f47762ce944ea9b8b3b3e05e220c6a2e (diff)
downloadlinux-stable-119bd789f6405b8bf351b58561d08d8fc4e2d10b.tar.gz
linux-stable-119bd789f6405b8bf351b58561d08d8fc4e2d10b.tar.bz2
linux-stable-119bd789f6405b8bf351b58561d08d8fc4e2d10b.zip
ASoC: Change the base value of compress_type
Ensure that the base value of compress_type starts at 1 so that we know whether the machine driver has provided a compress_type for overriding the codec supplied one. 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/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 586bfb99fedb..24db9101c87d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -256,7 +256,7 @@ enum snd_soc_control_type {
};
enum snd_soc_compress_type {
- SND_SOC_FLAT_COMPRESSION,
+ SND_SOC_FLAT_COMPRESSION = 1,
SND_SOC_LZO_COMPRESSION,
SND_SOC_RBTREE_COMPRESSION
};