提交 34775012 编写于 作者: B Bard Liao 提交者: Mark Brown

ASoC: dapm: Allow update_bits use 32 bits reg

This patch change reg's type from unsigned short to int.
Signed-off-by: NBard Liao <bardliao@realtek.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 c9eaa447
...@@ -426,7 +426,7 @@ static void soc_dapm_async_complete(struct snd_soc_dapm_context *dapm) ...@@ -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, 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; bool change;
unsigned int old, new; unsigned int old, new;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册