Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34775012 authored by Bard Liao's avatar Bard Liao Committed by Mark Brown
Browse files

ASoC: dapm: Allow update_bits use 32 bits reg



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

Signed-off-by: default avatarBard Liao <bardliao@realtek.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent c9eaa447
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;