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

commit 08641d9b7bf915144a57a736b42642e13eb1167f 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/ak4641.c