1
0
Fork 0
alistair23-linux/drivers/staging/gdm724x
Amitoj Kaur Chawla c272dc2da1 staging: gdm724x: gdm_mux: Remove create_workqueue()
With concurrency managed workqueues, use of dedicated workqueues
can be replaced by using system_wq. Drop mux_rx_wq by using system_wq.

Since there is only one work item per mux_dev and different mux_devs
do not need to be ordered, increase of concurrency level by switching
to system_wq should not break anything.

cancel_work_sync() is used to ensure that work is not pending or
executing on any CPU.

Lastly, since all devices are suspended, which shutdowns the work item
before the driver can be unregistered, it is guaranteed that no work
item is pending or executing by the time exit path runs.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-14 16:52:15 -08:00
..
Kconfig
Makefile
TODO
gdm_endian.c staging: gdm724x: Remove test for host endian 2015-05-31 11:47:56 +09:00
gdm_endian.h staging: gdm724x: Remove test for host endian 2015-05-31 11:47:56 +09:00
gdm_lte.c staging: gdm724x: Remove unneeded parentheses 2016-02-11 20:00:30 -08:00
gdm_lte.h
gdm_mux.c staging: gdm724x: gdm_mux: Remove create_workqueue() 2016-02-14 16:52:15 -08:00
gdm_mux.h staging: gdm724x: Fix incorrect type in assignment 2014-10-20 10:29:18 +08:00
gdm_tty.c staging: gdm724x: constify tty_port_operations structs 2015-12-26 17:13:33 -08:00
gdm_tty.h
gdm_usb.c staging: gdm724x: correct kzalloc/kmalloc sizeof argument 2015-10-24 19:02:42 -07:00
gdm_usb.h
hci.h
hci_packet.h
netlink_k.c staging: gdm724x: Remove wrapper function 2015-11-15 20:02:47 -08:00
netlink_k.h staging: gdm724x: Remove wrapper function 2015-11-15 20:02:47 -08:00