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

commit 4c523ef61160b7d478371ddc9f48c8ce0a00d675 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/tas5086.c