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

commit b4a18c8b1af15ebfa9054a3d2aef7b0a7e6f2a05 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/wm8960.c