[alsa-devel] [PATCH 03/14] ASoC: cs4271: Fix wrong value references for boolean kctl
Handrigan, Paul
Paul.Handrigan at cirrus.com
Tue Mar 10 14:14:49 CET 2015
------ Original message------
From: Takashi Iwai
Date: Tue, Mar 10, 2015 6:39 AM
To: Mark Brown;
Cc: Liam Girdwood;Lars-Peter Clausen;Austin, Brian;Handrigan, Paul;Charles Keepax;alsa-devel at alsa-project.org<mailto:;alsa-devel at alsa-project.org>;
Subject:[PATCH 03/14] ASoC: cs4271: Fix wrong value references for boolean kctl
The correct values referred by a boolean control are
value.integer.va<http://value.integer.va>lue[], not value.enumerated.it<http://value.enumerated.it>em[].
The former is long while the latter is int, so it's even incompatible
on 64bit architectures.
Cc: ><mailto:<stable at vger.kernel.org>
Signed-off-by: Takashi Iwai ><mailto:<tiwai at suse.de>
---
sound/soc/codecs/cs4271.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index 79a4efcb894c..7d3a6accaf9a 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
Thanks!
Acked-by: Paul Handrigan ><mailto:<Paul.Handrigan at cirrus.com>
More information about the Alsa-devel
mailing list