commit | aeaa6203b6c41d9add8932dbd95bc741839054d0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Nov 02 18:38:39 2016 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Nov 15 08:21:19 2016 +0100 |
tree | 85e5964317663025c33f59b83754dc2958ef35e6 | |
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>