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)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2015 20:14:59 +0000 (20:14 +0000)
commit08641d9b7bf915144a57a736b42642e13eb1167f
tree03d37af9cc427ee1c77ca1285ad5a4a31fa1c396
parent2bf4c1d483d911cda5dd385527194d23e5cea73d
ASoC: ak4641: 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/ak4641.c