diff options
author | Dong Aisheng <dong.aisheng@linaro.org> | 2012-07-27 19:18:42 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2013-01-21 10:49:47 +0100 |
commit | 27f48791cda2f332727c196a9d23e51a6ffc7748 (patch) | |
tree | 57ce2149304a6f8632a811f4dbdd62ad301702b6 | |
parent | 648fc288b62caf2e7265f1d7dc5f3219681df3f5 (diff) |
ASoC: sgtl5000: enable VAG_POWER for LINE_IN
LINE_IN also needs VAG_POWER on or we may hear noise when directly
route LINE_IN to Headphone Mux.
Tested on imx28evk.
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 0c4216a46b32..7c6829a97d69 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -240,6 +240,7 @@ static const struct snd_soc_dapm_route audio_map[] = { {"Headphone Mux", "DAC", "DAC"}, /* dac --> hp_mux */ {"LO", NULL, "DAC"}, /* dac --> line_out */ + {"LINE_IN", NULL, "VAG_POWER"}, {"Headphone Mux", "LINE_IN", "LINE_IN"},/* line_in --> hp_mux */ {"HP", NULL, "Headphone Mux"}, /* hp_mux --> hp */ |