[alsa-devel] [PATCH 08/12] ALSA: hda - Enable parsing the independent HP mode as default for VIA codecs

Takashi Iwai tiwai at suse.de
Mon Jan 21 17:06:13 CET 2013


The original VIA codec parser enabled it as default, so let's keep the
behavior as it was.

Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 sound/pci/hda/patch_via.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index eade21c..9d9583c 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -135,6 +135,7 @@ static struct via_spec *via_new_spec(struct hda_codec *codec)
 	if (spec->codec_type == VT1708BCE)
 		spec->codec_type = VT1708S;
 	spec->no_pin_power_ctl = 1;
+	spec->gen.indep_hp = 1;
 	spec->gen.pcm_playback_hook = via_playback_pcm_hook;
 	return spec;
 }
-- 
1.8.1.1



More information about the Alsa-devel mailing list