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

commit 2bf4c1d483d911cda5dd385527194d23e5cea73d 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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/adav80x.c