]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: wm9713: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:16 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:03:48 +0000 (14:03 +0200)
commit5a903e6ae7e6185600a22ecaa3582ef1ffd3cf9c
tree9b793fac8cdd91f05384de80ce93fb8b93563af2
parentecec5e543d85a6aec0e920c5c9dbb6dee6691f45
ASoC: wm9713: Fix wrong value references for boolean kctl

commit 87a8b286e2f63c048a586dc677140d4a5b5808aa 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/wm9713.c