linux/drivers/usb/c67x00
Davidlohr Bueso 60b4c9d5c6 usb/c67x00: Replace tasklet with work
Tasklets have long been deprecated as being too heavy on the system
by running in irq context - and this is not a performance critical
path. If a higher priority process wants to run, it must wait for
the tasklet to finish before doing so.

c67x00_do_work() will now run in process context and have further
concurrency (tasklets being serialized among themselves), but this
is done holding the c67x00->lock, so it should be fine. Furthermore,
this patch fixes the usage of the lock in the callback as otherwise
it would need to be irq-safe.

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Link: https://lore.kernel.org/r/20210113031537.79859-1-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-26 18:36:37 +01:00
..
c67x00-drv.c USB: c67x00: Remove redundant license text 2017-11-07 15:45:02 +01:00
c67x00-hcd.c usb: c67x00: c67x00-hcd: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-15 17:25:57 +02:00
c67x00-hcd.h usb/c67x00: Replace tasklet with work 2021-01-26 18:36:37 +01:00
c67x00-ll-hpi.c usb: c67x00: c67x00-ll-hpi: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-03 10:18:40 +02:00
c67x00-sched.c usb/c67x00: Replace tasklet with work 2021-01-26 18:36:37 +01:00
c67x00.h USB: c67x00: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
Makefile USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00