ASoC: wm8904: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:12 +0000 (12:39 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 9 Apr 2015 22:42:08 +0000 (18:42 -0400)
commit26e34b22047de9ccda6cc1c17945d97181dd8add
tree08c3b8b9d6c6c20cbeee37716954ac8ae92c3727
parenta4622f530363178391d72009f9c9156e0a496a68
ASoC: wm8904: Fix wrong value references for boolean kctl

[ Upstream commit eaddf6fd959074f6a6e71deffe079c71eef35da6 ]

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