]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: pcm1681: Fix wrong value references for boolean kctl
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 11:39:07 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2015 12:02:56 +0000 (14:02 +0200)
commit78ba5e59faddd1de7bdae70dcb74c96b6e9a3f3a
treeb5a134e6cb6da641ec4e35356a39883142161bfd
parentd472402d0d7b0d0ca9b4c1e23173669aa4a268cf
ASoC: pcm1681: Fix wrong value references for boolean kctl

commit d7f58db49d9ad92bdb12d21fdc2308b76bc2ed38 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>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/pcm1681.c