ALSA: hda - Proper power-map toggling for input pins
authorTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2008 12:09:27 +0000 (13:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Dec 2008 12:09:27 +0000 (13:09 +0100)
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>

No differences found