aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2019-11-22 11:52:18 -0600
committerTakashi Iwai <tiwai@suse.de>2019-11-22 19:13:23 +0100
commit9314e44f455c8b46d08b2d379cb9e8fba5767207 (patch)
tree5ffcb98a604db9ba58ccf1af25d47edccd738bbb /drivers/usb/cdns3/cdns3-pci-wrap.c
parentALSA: aloop: Remove redundant locking in timer open function (diff)
downloadlinux-dev-9314e44f455c8b46d08b2d379cb9e8fba5767207.tar.xz
linux-dev-9314e44f455c8b46d08b2d379cb9e8fba5767207.zip
ALSA: aloop: Avoid unexpected timer event callback tasklets
loopback_snd_timer_close_cable() function waits until all scheduled tasklets are completed, but the timer is closed after that and can generate more event callbacks, scheduling new tasklets, that will not be synchronized with cable closing. Move tasklet_kill() call to be executed after snd_timer_close() call to avoid such case. Fixes: 26c53379f98d ("ALSA: aloop: Support selection of snd_timer instead of jiffies") Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Link: https://lore.kernel.org/r/20191122175218.17187-2-andrew_gabbasov@mentor.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions