From: Takashi Iwai Date: Mon, 21 Jan 2013 14:15:55 +0000 (+0100) Subject: ALSA: hda - Enable parsing the independent HP mode as default for VIA codecs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=139611705ad5ce7b35b8b7957c5ca406deb3ff9b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ALSA: hda - Enable parsing the independent HP mode as default for VIA codecs The original VIA codec parser enabled it as default, so let's keep the behavior as it was. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index eade21c3e0b1..9d9583ca5f5b 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; }