aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parentASoC: Add compress_type as a member to snd_soc_codec (diff)
downloadlinux-dev-119bd789f6405b8bf351b58561d08d8fc4e2d10b.tar.xz
linux-dev-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')
-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
};