Skip to contentSkip to conversation

ASoC: DAPM: Allow update_bits use 32 bits reg

PATCH Applied [email protected] 2 participants 2 messages Apr 17, 2014 – Apr 18, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: DAPM: Allow update_bits use 32 bits reg

From: Bard Liao <[email protected]>

This patch change reg's type from unsigned short to int.

---
 sound/soc/soc-dapm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-dapm.c +1 -1
index c8a780d..f4ba7b4 100644
@@ -426,7 +426,7 @@ static void soc_dapm_async_complete(struct snd_soc_dapm_context *dapm)
 }
 
 static int soc_widget_update_bits_locked(struct snd_soc_dapm_widget *w,
-	unsigned short reg, unsigned int mask, unsigned int value)
+	int reg, unsigned int mask, unsigned int value)
 {
 	bool change;
 	unsigned int old, new;
Signature · 1 line
1.8.1.1.439.g50a6b54