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

ALSA: hda - Assign unsol tags dynamically in patch_sigmatel.c



Since we need to handle many unsolicited events assigned to different
widgets, allocate the event dynamically using the existing events
array, and use the tag appropriately instead of combination of fixed
number and widget nid.  (Note that widget nid can be over 4 bits!)

Also, replaced the call of unsol_event handler with a dedicated
function to be more readable.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 0e19e7d2
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