ASoC: dapm: Allow update_bits use 32 bits reg

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>
This commit is contained in:
Bard Liao 2014-04-17 20:12:56 +08:00 committed by Mark Brown
parent c9eaa447e7
commit 3477501274

View 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;