projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9eaa44
)
ASoC: dapm: Allow update_bits use 32 bits reg
author
Bard Liao
<bardliao@realtek.com>
Thu, 17 Apr 2014 12:12:56 +0000
(20:12 +0800)
committer
Mark Brown
<broonie@linaro.org>
Fri, 18 Apr 2014 14:53:22 +0000
(15:53 +0100)
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>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index c8a780d0d057f43b08e74fc7c6d57f414e8aecde..f4ba7b40a6abf204f8e06a8d32177a480520fa06 100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-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 shor
t reg, unsigned int mask, unsigned int value)
+
in
t reg, unsigned int mask, unsigned int value)
{
bool change;
unsigned int old, new;