• Takashi Iwai's avatar
    ALSA: line6: pod: Rewrite complex timer & work combo with a delayed work · 516d3d1b
    Takashi Iwai authored
    The POD driver had a complex staged startup procedure using both timer
    and work.  This patch simplifies it via a single delayed work with the
    reduced stages.
    
    Now basically only two intermediate stages:
    - POD_STARTUP_VERSIONREQ:
      requesting the version information and the process_message callback
      triggers the next stage,
    - POD_STARTUP_SETUP:
      registering the actual card object.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    516d3d1b
pod.c 13.2 KB