commit | 12dde4c6d6e9092cf63094e84dc1fe4e505dd6d0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Dec 05 13:09:27 2008 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Dec 05 13:09:27 2008 +0100 |
tree | a4ff353b79e346d663be73200a00385591e46722 | |
parent | e6e3ea25b1679b55728a8a470a50a8fff61e8a45 [diff] |
ALSA: hda - Proper power-map toggling for input pins The current code overrides the event type on input pins always to PWR_EVENT. Although this still works (PWR_EVENT and INSERT_EVENT are handled samely), it'd be better to avoid such overrides. Also, currently the unsol events are registered even for fixed pins which will never raise the pin-detection event. This patch fixes both issues. Signed-off-by: Takashi Iwai <tiwai@suse.de>