mirror_ubuntu-kernels/drivers/net/wwan
Tetsuo Handa cc271ab866 wwan_hwsim: Avoid flush_scheduled_work() usage
Flushing system-wide workqueues is dangerous and will be forbidden.
Replace system_wq with local wwan_wq.

While we are at it, make err_clean_devs: label of wwan_hwsim_init()
behave like wwan_hwsim_exit(), for it is theoretically possible to call
wwan_hwsim_debugfs_devcreate_write()/wwan_hwsim_debugfs_devdestroy_write()
by the moment wwan_hwsim_init_devs() returns.

Link: https://lkml.kernel.org/r/49925af7-78a8-a3dd-bce6-cfc02e1a9236@I-love.SAKURA.ne.jp
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Link: https://lore.kernel.org/r/7390d51f-60e2-3cee-5277-b819a55ceabe@I-love.SAKURA.ne.jp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-04-25 12:10:24 -07:00
..
iosm net: wwan: iosm: drop debugfs dev reference 2022-02-14 14:09:59 +00:00
Kconfig net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
Makefile net: wwan: Add Qualcomm BAM-DMUX WWAN network driver 2021-11-29 12:27:34 +00:00
mhi_wwan_ctrl.c Revert "net: really fix the build..." 2021-08-26 11:08:32 -07:00
mhi_wwan_mbim.c net: wwan: Fix MRU mismatch issue which may lead to data connection lost 2022-01-15 22:40:52 +00:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: fix wrong pointer passed to IS_ERR() 2022-03-22 09:36:46 +01:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c net: wwan: debugfs obtained dev reference not dropped 2022-02-14 14:09:59 +00:00
wwan_hwsim.c wwan_hwsim: Avoid flush_scheduled_work() usage 2022-04-25 12:10:24 -07:00