[ 14/76] ALSA: hda - do not detect jack on internal speakers for Realtek
From: Greg Kroah-Hartman
Date: Thu Oct 18 2012 - 22:48:23 EST
- Next message: Greg Kroah-Hartman: "[ 17/76] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking"
- Previous message: Greg Kroah-Hartman: "[ 58/62] ASoC: wm2200: Use rev A register patches on rev B"
- In reply to: Greg Kroah-Hartman: "[ 00/76] 3.6.3-stable review"
- Next in thread: Greg Kroah-Hartman: "[ 17/76] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
3.6-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
commit f7f4b2322bf7b8c5929b7eb5a667091f32592580 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@xxxxxxxxx>
Signed-off-by: David Henningsson <david.henningsson@xxxxxxxxxxxxx>
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
sound/pci/hda/patch_realtek.c | 2 ++
1 file changed, 2 insertions(+)
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -611,6 +611,8 @@ static void alc_line_automute(struct hda
{
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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Next message: Greg Kroah-Hartman: "[ 17/76] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking"
- Previous message: Greg Kroah-Hartman: "[ 58/62] ASoC: wm2200: Use rev A register patches on rev B"
- In reply to: Greg Kroah-Hartman: "[ 00/76] 3.6.3-stable review"
- Next in thread: Greg Kroah-Hartman: "[ 17/76] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]