]> git.baikalelectronics.ru Git - kernel.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)
commit9a0ae4a9a7f5116660dac4e65a2ca96e09fedcef
treed949c30af0c8b233f5dc3915fb68f80e93e97b64
parent8eb2662056bfa2e13dfcff9138b05a788c9a4f78
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