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

commit d7f58db49d9ad92bdb12d21fdc2308b76bc2ed38 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/pcm1681.c