Skip to contentSkip to conversation

ASoC: mid-x86: Add support for capture in machine driver

PATCH Applied Harsha Priya 1 participant 1 message Jan 28, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ASoC: mid-x86: Add support for capture in machine driver

This configures the capture unused pins

---
 sound/soc/mid-x86/mfld_machine.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/mid-x86/mfld_machine.c +3 -0
index 1a330be..7925851 100644
@@ -182,6 +182,9 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime)
 	snd_soc_dapm_disable_pin(dapm, "LINEOUTR");
 	lo_dac = 3;
 	hs_switch = 0;
+	/* we dont use linein in this so set to NC */
+	snd_soc_dapm_disable_pin(dapm, "LINEINL");
+	snd_soc_dapm_disable_pin(dapm, "LINEINR");
 	return snd_soc_dapm_sync(dapm);
 }
 
Signature · 1 line
1.7.3.4