commit | d5ac0100a9027bdf488cf20247b1041f26f796f3 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Apr 09 10:21:30 2015 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Apr 09 10:33:44 2015 +0200 |
tree | 0ff84a125b7a94f929824cd3dca9873e1c3271d8 | |
parent | 2206dc949286fe0010c69213d3d8b4c53e6a2295 [diff] |
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>