Skip to content

Commit

Permalink
ASoC: dapm: Allow update_bits use 32 bits reg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bard Liao authored and Mark Brown committed Apr 18, 2014
1 parent c9eaa44 commit 3477501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3477501

Please sign in to comment.