ASoC: dapm: Allow update_bits use 32 bits reg
authorBard Liao <bardliao@realtek.com>
Thu, 17 Apr 2014 12:12:56 +0000 (20:12 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 14:53:22 +0000 (15:53 +0100)
This patch change reg's type from unsigned short to int.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c

index c8a780d0d057f43b08e74fc7c6d57f414e8aecde..f4ba7b40a6abf204f8e06a8d32177a480520fa06 100644 (file)
@@ -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;