]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: line6: pod: Rewrite complex timer & work combo with a delayed work
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2019 13:24:00 +0000 (15:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 May 2019 06:56:59 +0000 (08:56 +0200)
commit516d3d1bedd34b2008f3530e4957ef97d449d5f7
treed949c30af0c8b233f5dc3915fb68f80e93e97b64
parent0b074ab7fc0d575247b9cc9f93bb7e007ca38840
ALSA: line6: pod: Rewrite complex timer & work combo with a delayed work

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: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pod.c