]> 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)
commit91d8344266a8d8a87120dbf0d8e93901b457a97a
tree02d69e8de14c403a0a76a27246064d1446b78baa
parente248023f7cd2c9b2ebb38377332c52c6fbdbb4fc
ALSA: hda - Fix power-map regression for HP dv6 & co

The recent fix for power-map controls (commit 6f217da228a) 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