aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-02-18 11:04:20 -0500
committerTakashi Iwai <tiwai@suse.de>2013-02-18 11:04:20 -0500
commite6e0ee507f630350d883bb3343e78cab30cad5e2 (patch)
tree55ada245872c8f49cf7004a34b80d3458362ed53 /sound/pci
parentd06ac14399a0af7e4da0c67cff30d30d7e02df46 (diff)
ALSA: hda - Fix the silent speaker output on Fujitsu S7020 laptop
In the recent update, Fujitsu S7020 laptop with ALC260 codec lost the speaker output, no matter how the amps and the pins are set. After a long debugging session, we found out that the default codec init code is harmful for this machine, and we have to reset it to ALC_INIT_NONE. Reported-and-tested-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index e575685cca99..61478fd82565 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -1516,8 +1516,14 @@ static void alc260_fixup_fsc_s7020(struct hda_codec *codec,
1516{ 1516{
1517 struct alc_spec *spec = codec->spec; 1517 struct alc_spec *spec = codec->spec;
1518 1518
1519 if (action == HDA_FIXUP_ACT_PRE_PROBE) 1519 switch (action) {
1520 case HDA_FIXUP_ACT_PRE_PROBE:
1520 spec->gen.add_out_jack_modes = 1; 1521 spec->gen.add_out_jack_modes = 1;
1522 break;
1523 case HDA_FIXUP_ACT_PROBE:
1524 spec->init_amp = ALC_INIT_NONE;
1525 break;
1526 }
1521} 1527}
1522 1528
1523static const struct hda_fixup alc260_fixups[] = { 1529static const struct hda_fixup alc260_fixups[] = {