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)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2015 20:15:16 +0000 (20:15 +0000)
commit4c523ef61160b7d478371ddc9f48c8ce0a00d675
tree9f60db5477b6848d6f129dc68a0e21b07160266d
parentd7f58db49d9ad92bdb12d21fdc2308b76bc2ed38
ASoC: tas5086: Fix wrong value references for boolean kctl

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>
sound/soc/codecs/tas5086.c