]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ad1980: Fix wrong number of items for capture source
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Feb 2014 08:56:40 +0000 (09:56 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 02:01:26 +0000 (11:01 +0900)
commit8dfc001c2d7137bdf6413ddfb42d1fbbc5b4df73
tree4b74597403d370bcdbe2f1374b4e5e2d24070347
parented4c0e42e851d5178cd0d1dc05de408325576e1c
ASoC: ad1980: Fix wrong number of items for capture source

The number of capture sources is 8, not 7.
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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/ad1980.c