]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8900: Fix the wrong number of enum items
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:39:46 +0000 (09:39 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 01:26:00 +0000 (10:26 +0900)
commitbecde8798bb2097f44760fdefc370b7b15687c29
tree1382e3a115030286aad525fe69d30947aaf151af
parented4c0e42e851d5178cd0d1dc05de408325576e1c
ASoC: wm8900: Fix the wrong number of enum items

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

Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.

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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8900.c