mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ALSA: hda - do not detect jack on internal speakers for Realtek
commit f7f4b2322b
upstream.
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 <da.fox.mail@gmail.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9d5c7a86d
commit
ccb6ce1dde
1 changed files with 2 additions and 0 deletions
|
@ -602,6 +602,8 @@ static void alc_line_automute(struct hda_codec *codec)
|
|||
{
|
||||
struct alc_spec *spec = codec->spec;
|
||||
|
||||
if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
|
||||
return;
|
||||
/* check LO jack only when it's different from HP */
|
||||
if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0])
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue