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:
34c5cdb
)
ASoC: wm8753: Replace magic number
author
Alexander Shiyan
<shc_work@mail.ru>
Sat, 25 Jun 2016 04:58:09 +0000
(07:58 +0300)
committer
Mark Brown
<broonie@kernel.org>
Sun, 26 Jun 2016 01:18:02 +0000
(
02:18
+0100)
Use SND_SOC_NOPM constant, instead of -1.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8753.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8753.c
b/sound/soc/codecs/wm8753.c
index b4e6893f5e3d6356286447d7d97dd175be69158d..cdcc91282e8a15ac3d226591df88da1b45da4c99 100644
(file)
--- a/
sound/soc/codecs/wm8753.c
+++ b/
sound/soc/codecs/wm8753.c
@@
-485,7
+485,7
@@
SND_SOC_DAPM_DAC("Voice DAC", "Voice Playback", WM8753_PWR1, 4, 0),
SND_SOC_DAPM_OUTPUT("MONO1"),
SND_SOC_DAPM_MUX("Mono 2 Mux", SND_SOC_NOPM, 0, 0, &wm8753_mono2_controls),
SND_SOC_DAPM_OUTPUT("MONO2"),
-SND_SOC_DAPM_MIXER("Out3 Left + Right",
-1
, 0, 0, NULL, 0),
+SND_SOC_DAPM_MIXER("Out3 Left + Right",
SND_SOC_NOPM
, 0, 0, NULL, 0),
SND_SOC_DAPM_MUX("Out3 Mux", SND_SOC_NOPM, 0, 0, &wm8753_out3_controls),
SND_SOC_DAPM_PGA("Out 3", WM8753_PWR3, 4, 0, NULL, 0),
SND_SOC_DAPM_OUTPUT("OUT3"),