ASoC: pcm1681: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:07 +0000 (12:39 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2015 20:15:13 +0000 (20:15 +0000)
commitd7f58db49d9ad92bdb12d21fdc2308b76bc2ed38
tree86a23d1b5849fe5b62fd785a2e8813fbcd73ae02
parentd223b0e7fcfecc23380e7de45eb6a0e7b328c17c
ASoC: pcm1681: 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/pcm1681.c