]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: wm9712: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:15 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:03:48 +0000 (14:03 +0200)
commitecec5e543d85a6aec0e920c5c9dbb6dee6691f45
tree9c6cde9f9ecac3c8bf684932165f7d3121375cb0
parent3427a69e0d91ef21d56451f648a0e9ab356d966d
ASoC: wm9712: Fix wrong value references for boolean kctl

commit 4b0b669b86a963f71feaa1a694e881832fdf4f86 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>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm9712.c