ASoC: wm8770: Fix wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:37:30 +0000 (09:37 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:23:20 +0000 (10:23 +0900)
commit7a6c0a58dc824523966f212c76322d47c5b0e6fe
treedac599f673fd380d5832f8a489af27cb16eea846
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: wm8770: Fix wrong number of enum items

wm8770 codec driver defines ain_enum with a wrong number of items.

Use SOC_ENUM_DOUBLE_DECL() macro and it's automatically fixed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8770.c