aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-08 10:15:46 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-04 07:35:20 -0400
commit41b5b3bd5b7c9dd4ab4e0583d54d81b7f7d33d1f (patch)
tree09c3437dd3f4bd620b81ab98a537505650d7dea3 /include/sound
parent67d45090e6154d401e50c3e0f4a2844cfea404c4 (diff)
ASoC: dapm: Allow DAPM registers to be 31 bit
Supports larger register maps, not using unsigned ints for the full 32 bit as we rely on checking for negative registers. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index a53e231044a..01e7ad1f3f9 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -487,7 +487,7 @@ struct snd_soc_dapm_widget {
487 struct regulator *regulator; /* attached regulator */ 487 struct regulator *regulator; /* attached regulator */
488 488
489 /* dapm control */ 489 /* dapm control */
490 short reg; /* negative reg = no direct dapm */ 490 int reg; /* negative reg = no direct dapm */
491 unsigned char shift; /* bits to shift */ 491 unsigned char shift; /* bits to shift */
492 unsigned int saved_value; /* widget saved value */ 492 unsigned int saved_value; /* widget saved value */
493 unsigned int value; /* widget current value */ 493 unsigned int value; /* widget current value */