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 /mm | |
parent | 4e4dfe4c3fb2888bd96eed629220bd2e7f105f60 (diff) |
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 'mm')
0 files changed, 0 insertions, 0 deletions