]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/generic - Fix wrong initial power state for fixed pins
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:21:30 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 08:33:44 +0000 (10:33 +0200)
commit43909432bc66509b2879390b98760c10905f6d63
tree0ff84a125b7a94f929824cd3dca9873e1c3271d8
parent0803929ec24d8be771abec67f7d225682b6f121a
ALSA: hda/generic - Fix wrong initial power state for fixed pins

When the widget power-saving is enabled, the first automute hook
invocation checks through the whole pins and it also tries to
synchronize the power state.  However, this results in a wrong state
because it calls unconditionally snd_hda_jack_detect_state().
This patch adds a check of jack detectability before the actual jack
detection call.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c