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)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 9 Apr 2015 22:41:35 +0000 (18:41 -0400)
commit5841b1d7096a8fdb7d248a947fbfbc0f27c91ff9
treedbbd32e1ba33b3106ca2093bb3e2f1168e56dffb
parent238cb9052d34961497a520101c0564e8f50bfaf7
ASoC: tas5086: Fix wrong value references for boolean kctl

[ Upstream commit 4c523ef61160b7d478371ddc9f48c8ce0a00d675 ]

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/soc/codecs/tas5086.c