]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Merge branch 'fix/cxt-stable' into fix/hda
authorTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 15:13:03 +0000 (17:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2012 15:13:03 +0000 (17:13 +0200)
Merge fixes for Thinkpad docking-station regressions for 3.3 kernels
back to 3.4.  These were committed in that branch to make the stable
merging easier.

Conflicts:
sound/pci/hda/patch_conexant.c

1  2 
sound/pci/hda/patch_conexant.c

index a36488d94aaad9521f1b8368ad3b35c947591f07,58b5de4a6eede645118b3fcc2da5c2614fd31703..d906c5b74cf0e7b047a4e702c71ba8b6d0e5d5de
@@@ -4445,23 -4441,10 +4470,23 @@@ static int patch_conexant_auto(struct h
                break;
        case 0x14f15051:
                add_cx5051_fake_mutes(codec);
 +              codec->pin_amp_workaround = 1;
+               apply_pin_fixup(codec, cxt5051_fixups, cxt_pincfg_tbl);
                break;
        default:
-       apply_pin_fixup(codec, cxt_fixups, cxt_pincfg_tbl);
 +              codec->pin_amp_workaround = 1;
+               apply_pin_fixup(codec, cxt5066_fixups, cxt_pincfg_tbl);
 +      }
 +
 +      /* Show mute-led control only on HP laptops
 +       * This is a sort of white-list: on HP laptops, EAPD corresponds
 +       * only to the mute-LED without actualy amp function.  Meanwhile,
 +       * others may use EAPD really as an amp switch, so it might be
 +       * not good to expose it blindly.
 +       */
 +      switch (codec->subsystem_id >> 16) {
 +      case 0x103c:
 +              spec->vmaster_mute_led = 1;
                break;
        }