ASoC: dapm: Allow update_bits use 32 bits reg
[firefly-linux-kernel-4.4.55.git] / 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;