Skip to content

Commit

Permalink
ASoC: Change the base value of compress_type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Dec 3, 2010
1 parent 23bbce3 commit 119bd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sound/soc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 119bd78

Please sign in to comment.