ASoC: ab8500: Fix enum ctl accesses in a wrong type
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Feb 2016 17:08:00 +0000 (18:08 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Mar 2016 03:05:35 +0000 (12:05 +0900)
commit4b606316129571c46381430852c149855ac50477
tree458fbfd1bb3a8683a058b98d135b8490908d4963
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: ab8500: Fix enum ctl accesses in a wrong type

"Sidetone Status" and "ANC Status" ctls in ab8500 codec driver are
enum, while the current driver accesses wrongly via
value.integer.value[].  They have to be via value.enumerated.item[]
instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ab8500-codec.c