ASoC: es8238: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:06 +0000 (12:39 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 9 Apr 2015 22:41:20 +0000 (18:41 -0400)
commitdeb426a4633059e29e1bdb45fa77f5bc1dc14c00
tree9c0c0b093773859ae25ede3c38363f30acc26c1b
parent1ad7b2862e771d04c189e2b583a759ce3e6d5e34
ASoC: es8238: Fix wrong value references for boolean kctl

[ Upstream commit d223b0e7fcfecc23380e7de45eb6a0e7b328c17c ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/soc/codecs/es8328.c