ASoC: wm8960: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:14 +0000 (12:39 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 9 Apr 2015 22:41:28 +0000 (18:41 -0400)
commit238cb9052d34961497a520101c0564e8f50bfaf7
treeba3cc5d1b56263f0701b65ea9bea21cf2b56e60b
parentdeb426a4633059e29e1bdb45fa77f5bc1dc14c00
ASoC: wm8960: Fix wrong value references for boolean kctl

[ Upstream commit b4a18c8b1af15ebfa9054a3d2aef7b0a7e6f2a05 ]

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/wm8960.c