[alsa-devel] [PATCH] ASoC: dapm: Allow DAPM registers to be unsigned int

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Mar 8 13:48:32 CET 2012


Supports larger register maps.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 include/sound/soc-dapm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index a4ae018..ab3216b 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -488,7 +488,7 @@ struct snd_soc_dapm_widget {
 	void *priv;				/* widget specific data */
 
 	/* dapm control */
-	short reg;						/* negative reg = no direct dapm */
+	unsigned int reg;			/* negative reg = no direct dapm */
 	unsigned char shift;			/* bits to shift */
 	unsigned int saved_value;		/* widget saved value */
 	unsigned int value;				/* widget current value */
-- 
1.7.9.1



More information about the Alsa-devel mailing list