ASoC: mid-x86: Add support for capture in machine driver
PATCH 3/3 ASoC: mid-x86: Add support for capture in machine driver
This configures the capture unused pins
Signed-off-by Vinod Koul <[email protected]>
Signed-off-by Harsha Priya <[email protected]>
--- sound/soc/mid-x86/mfld_machine.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/mid-x86/mfld_machine.c +3 -0
@@ -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