• Tejun Heo's avatar
    usb: core: hcd: Convert from tasklet to BH workqueue · 8fea0c8f
    Tejun Heo authored
    The only generic interface to execute asynchronously in the BH context is
    tasklet; however, it's marked deprecated and has some design flaws. To
    replace tasklets, BH workqueue support was recently added. A BH workqueue
    behaves similarly to regular workqueues except that the queued work items
    are executed in the BH context.
    
    This patch converts usb hcd from tasklet to BH workqueue.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: linux-usb@vger.kernel.org
    8fea0c8f
hcd.c 89.2 KB