OSDN Git Service

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

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