Skip to content

Commit f7f4b23

Browse files
David Henningssontiwai
David Henningsson
authored andcommitted
ALSA: hda - do not detect jack on internal speakers for Realtek
This caused the internal speaker to mute itself because it was present, which happened after powersave. It was found on Dell XPS 15 (L502x), ALC665. Reported-by: Da Fox <[email protected]> Cc: [email protected] Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7110005 commit f7f4b23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,8 @@ static void alc_line_automute(struct hda_codec *codec, struct hda_jack_tbl *jack
611611
{
612612
struct alc_spec *spec = codec->spec;
613613

614+
if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
615+
return;
614616
/* check LO jack only when it's different from HP */
615617
if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0])
616618
return;

0 commit comments

Comments
 (0)