diff options
author | Stephen Barber <smbarber@chromium.org> | 2016-10-27 21:02:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 13:04:26 -0400 |
commit | d64b5bf5b10ad95fd4a2684e1fc39eb7b00d9d0c (patch) | |
tree | ab74c14da2f5bb1871a512a67326f77b140f5ec3 | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
ASoC: da7219: Connect output enable register to DAIOUT
da7219 output (for headset capture) should be set to high-impedance when
not in use, since it will otherwise interfere with output from other
codecs attached to the same DAI.
Signed-off-by: Stephen Barber <smbarber@chromium.org>
Acked-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/da7219.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index 1152aa5e7c39..cf37936bfe3a 100644 --- a/sound/soc/codecs/da7219.c +++ b/sound/soc/codecs/da7219.c | |||
@@ -880,7 +880,8 @@ static const struct snd_soc_dapm_widget da7219_dapm_widgets[] = { | |||
880 | SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD), | 880 | SND_SOC_DAPM_PRE_PMU | SND_SOC_DAPM_POST_PMD), |
881 | 881 | ||
882 | /* DAI */ | 882 | /* DAI */ |
883 | SND_SOC_DAPM_AIF_OUT("DAIOUT", "Capture", 0, SND_SOC_NOPM, 0, 0), | 883 | SND_SOC_DAPM_AIF_OUT("DAIOUT", "Capture", 0, DA7219_DAI_TDM_CTRL, |
884 | DA7219_DAI_OE_SHIFT, DA7219_NO_INVERT), | ||
884 | SND_SOC_DAPM_AIF_IN("DAIIN", "Playback", 0, SND_SOC_NOPM, 0, 0), | 885 | SND_SOC_DAPM_AIF_IN("DAIIN", "Playback", 0, SND_SOC_NOPM, 0, 0), |
885 | 886 | ||
886 | /* Output Muxes */ | 887 | /* Output Muxes */ |