]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: wm2000: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:09 +0000 (12:39 +0100)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 12:14:00 +0000 (14:14 +0200)
commitf18d6628aa7d5d25703528673f4bb499cf43e438
treed5de63579286a0293ef08b7bb9b5199e98cc2da1
parent21592fdfb9c5a1b0d635cf3b481d27b2b54bebaf
ASoC: wm2000: Fix wrong value references for boolean kctl

commit 00a14c2968e3d55817e0fa35c78106ca840537bf 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: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/wm2000.c