]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8990: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:43:49 +0000 (09:43 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:30:01 +0000 (10:30 +0900)
commit87e7975c8368e772f09ff267f8eab2d46f952501
tree5768ee0204e21ae9cbd9ba4293b9bdfe6f447631
parented4c0e42e851d5178cd0d1dc05de408325576e1c
ASoC: wm8990: Fix the wrong number of enum items

wm8990 codec driver has a few places wrongly defining the number of
enum items.

Use SOC_ENUM_SINGLE_DECL() macro and they are 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>
sound/soc/codecs/wm8990.c