On Tue, 15 Mar 2016 16:43:58 +0100, moosotc@gmail.com wrote:
Takashi Iwai tiwai@suse.de writes:
On Mon, 14 Mar 2016 19:39:26 +0100, moosotc@gmail.com 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 =
snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); }spec->gpio_eapd_hp | spec->gpio_eapd_speaker;
That works perfectly with "Auto-Mute Mode" set to "Disabled".
Danke schön.
Tested-by: moosotc@gmail.com
If you need one.
Good to hear. I'll cook up the official patch and submit/merge soon later. Thanks for your quick test.
Takashi