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

wm8994 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/wm8994.c