Skip to content
Commit 12dde4c6 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent e6e3ea25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment