]> 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)
commit553993a00102874b0bafa76644237b3003d4a76c
tree0ff84a125b7a94f929824cd3dca9873e1c3271d8
parent0f23854c1077eeacf8abd9f1012caa3cd99e152c
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