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:
48c3387
)
ASoC: wm9081: fixup wm9081_digital_mute() reg read
author
Kuninori Morimoto
<
[email protected]
>
Tue, 13 Feb 2018 02:54:58 +0000
(
02:54
+0000)
committer
Mark Brown
<
[email protected]
>
Tue, 13 Feb 2018 11:58:45 +0000
(11:58 +0000)
commit
48c338764296
("ASoC: wm9081: replace codec to component")
replaced codec to component, but it didn't keep WM9081_DAC_DIGITAL_2
value to reg. This patch fixup it.
Reported-by: kbuild test robot <
[email protected]
>
Reported-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm9081.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm9081.c
b/sound/soc/codecs/wm9081.c
index 52dd610cd8dc7c70178f1b02ae15f5eac961e56d..5a0ea7b3c149a46a9c69640ece9a6d21553496c9 100644
(file)
--- a/
sound/soc/codecs/wm9081.c
+++ b/
sound/soc/codecs/wm9081.c
@@
-1155,7
+1155,7
@@
static int wm9081_digital_mute(struct snd_soc_dai *codec_dai, int mute)
struct snd_soc_component *component = codec_dai->component;
unsigned int reg;
- snd_soc_component_read32(component, WM9081_DAC_DIGITAL_2);
+
reg =
snd_soc_component_read32(component, WM9081_DAC_DIGITAL_2);
if (mute)
reg |= WM9081_DAC_MUTE;