]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28a02f2fd2d3249dd992387b76fa6632fef0c559
tree8b216506ea474c80035c3b5e9bf93637bc957c74
parent5367e65a538f2d59834d845f582bc1f1ae9599b8
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