]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix power-map regression for HP dv6 & co
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jun 2012 15:35:10 +0000 (17:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Jun 2012 15:43:06 +0000 (17:43 +0200)
commitd08451eab4dcaedc6e37e3ddecc7322ca39d2e77
tree02d69e8de14c403a0a76a27246064d1446b78baa
parentcb3657ed40b0ec5a98957d33ed8cc8c22458c42d
ALSA: hda - Fix power-map regression for HP dv6 & co

The recent fix for power-map controls (commit 81e2d0da1df) caused
regressions on some other HP laptops.  They have fixed pins but these
pins are exposed as jack-detectable.  Thus the driver tries to control
the power-map dynamically per jack detection where it never gets on.

This patch adds the check of connection and it assumes the no jack
detection is available for fixed pins no matter what pin capability
says.

BugLink: http://bugs.launchpad.net/bugs/1013183
Reported-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c