ASoC: wm8903: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:11 +0000 (12:39 +0100)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:07:34 +0000 (13:07 +0000)
commit17d25735c9f841fa3b7ac8231a5b072defdf8913
tree1aae6c6c240d3c088ed701396998aba0dc519601
parent0421f95adcf109a85e8b7240dc4e2f8b9d4a047b
ASoC: wm8903: Fix wrong value references for boolean kctl

commit 24cc883c1fd16df34211ae41624aa6d3cd906693 upstream.

The correct values referred by a boolean control are
value.integer.value[], not value.enumerated.item[].
The former is long while the latter is int, so it's even incompatible
on 64bit architectures.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm8903.c