diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-11-02 18:38:39 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-11-15 08:21:19 +0100 |
commit | aeaa6203b6c41d9add8932dbd95bc741839054d0 (patch) | |
tree | 85e5964317663025c33f59b83754dc2958ef35e6 /Documentation | |
parent | ALSA: emu10k1: Simplify firmware loader code (diff) | |
download | linux-aeaa6203b6c41d9add8932dbd95bc741839054d0.tar.xz linux-aeaa6203b6c41d9add8932dbd95bc741839054d0.zip |
ALSA: emu10k1: Use workqueue instead of kthread for emu1010 fw polling
This patch is a cleanup of EMU1010 dock probing code in emu10k1 driver
to use work instead of kthread in a loop. The work is lighter and
easier to control than kthread, in general.
Instead of a loop with the explicit sleep, we do simply
delayed-schedule the work. At suspend/resume callbacks, the work is
canceled and restarted, respectively.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions