]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8400: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:34:44 +0000 (09:34 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 02:07:53 +0000 (11:07 +0900)
commitf1c2430208c51b9e11349983375f3f82c5d50a4d
treec0ce79bc862562124852c8397ef8e855c3effbc1
parented4c0e42e851d5178cd0d1dc05de408325576e1c
ASoC: wm8400: Fix the wrong number of enum items

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