ASoC: wm8985: Fix enum ctl accesses in a wrong type
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Feb 2016 17:01:14 +0000 (18:01 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Mar 2016 03:11:22 +0000 (12:11 +0900)
commit251d604778f1f7bbf29672a79cccc4663a7efd62
tree8b216506ea474c80035c3b5e9bf93637bc957c74
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: wm8985: Fix enum ctl accesses in a wrong type

"Equalizer Function" ctl in wm8985 codec driver is 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/wm8985.c