Takashi Iwai <tiwai@xxxxxxx> writes: > On Mon, 14 Mar 2016 19:39:26 +0100, > moosotc@xxxxxxxxx wrote: >> [..snip..] > > Thanks. This seems to be the missing GPIO setup when the auto-mute is > disabled. Could you give the patch below? > > > Takashi > > --- > diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c > index c1c855a6c0af..a47e8ae0eb30 100644 > --- a/sound/pci/hda/patch_cirrus.c > +++ b/sound/pci/hda/patch_cirrus.c > @@ -174,8 +174,12 @@ static void cs_automute(struct hda_codec *codec) > snd_hda_gen_update_outputs(codec); > > if (spec->gpio_eapd_hp || spec->gpio_eapd_speaker) { > - spec->gpio_data = spec->gen.hp_jack_present ? > - spec->gpio_eapd_hp : spec->gpio_eapd_speaker; > + if (spec->gen.automute_speaker) > + spec->gpio_data = spec->gen.hp_jack_present ? > + spec->gpio_eapd_hp : spec->gpio_eapd_speaker; > + else > + spec->gpio_data = > + spec->gpio_eapd_hp | spec->gpio_eapd_speaker; > snd_hda_codec_write(codec, 0x01, 0, > AC_VERB_SET_GPIO_DATA, spec->gpio_data); > } That works perfectly with "Auto-Mute Mode" set to "Disabled". Danke schön. Tested-by: moosotc@xxxxxxxxx If you need one. -- mailto:moosotc@xxxxxxxxx _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel