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

commit e8371aa0fecb73fb8a4b2e0296b025b11e7d6229 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: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/cs4271.c