ASoC: wl1273: Fix enum ctl accesses in a wrong type
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Feb 2016 17:08:04 +0000 (18:08 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Mar 2016 03:09:30 +0000 (12:09 +0900)
commit154a0fddd4275aa93f4683705579a7d8ec3d177b
tree4caec66c7a2c5e33fd59f22292b1db9a856ee964
parent92e963f50fc74041b5e9e744c330dca48e04f08d
ASoC: wl1273: Fix enum ctl accesses in a wrong type

"Codec Mode" and "Audio Switch" ctls in wl1273 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/wl1273.c