summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2016-06-25 07:58:09 +0300
committerMark Brown <broonie@kernel.org>2016-06-26 02:18:02 +0100
commiteb87f9e2b3212c84498c6972b529e207e4e95e6a (patch)
tree453695669d1517acad265dbd4d43e9c33e8a35b2 /sound
parent34c5cdbcbdfe8575ece87a48e04208fbcd0ad16f (diff)
downloadlinux-eb87f9e2b3212c84498c6972b529e207e4e95e6a.tar.gz
linux-eb87f9e2b3212c84498c6972b529e207e4e95e6a.tar.bz2
linux-eb87f9e2b3212c84498c6972b529e207e4e95e6a.zip
ASoC: wm8753: Replace magic number
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8753.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index b4e6893f5e3d..cdcc91282e8a 100644
--- 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"),