diff options
author | Harsha Priya <priya.harsha@intel.com> | 2011-01-28 11:58:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-31 07:11:06 -0500 |
commit | d316553a0cb4569a9b6260e870cab8b9c102eace (patch) | |
tree | fadace7f4a3987c95e6e1f042e4c7cce482842b9 /sound/soc/mid-x86 | |
parent | a7bffdf7d885197857bb04919344dc17ffaf79b9 (diff) |
ASoC: mid-x86: Add support for capture in machine driver
This configures the capture unused pins
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Harsha Priya <priya.harsha@intel.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mid-x86')
-rw-r--r-- | sound/soc/mid-x86/mfld_machine.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/mid-x86/mfld_machine.c b/sound/soc/mid-x86/mfld_machine.c index 1a330be1a01e..7925851a5de1 100644 --- a/sound/soc/mid-x86/mfld_machine.c +++ b/sound/soc/mid-x86/mfld_machine.c | |||
@@ -182,6 +182,9 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime) | |||
182 | snd_soc_dapm_disable_pin(dapm, "LINEOUTR"); | 182 | snd_soc_dapm_disable_pin(dapm, "LINEOUTR"); |
183 | lo_dac = 3; | 183 | lo_dac = 3; |
184 | hs_switch = 0; | 184 | hs_switch = 0; |
185 | /* we dont use linein in this so set to NC */ | ||
186 | snd_soc_dapm_disable_pin(dapm, "LINEINL"); | ||
187 | snd_soc_dapm_disable_pin(dapm, "LINEINR"); | ||
185 | return snd_soc_dapm_sync(dapm); | 188 | return snd_soc_dapm_sync(dapm); |
186 | } | 189 | } |
187 | 190 | ||