2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/drivers/usb/mtu3
Chunfeng Yun 681e948524 usb: mtu3: fix warning of sleep in atomic context in notifier callback
The notifier callbacks of extcon are called in atomic context, but the
callbacks will call regulator_enable()/regulator_disable() which may
sleep caused by mutex, so use work queue to call the sleep functions.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-24 18:09:37 +02:00
..
Kconfig usb: changes for v4.18 merge window 2018-05-24 17:46:53 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtu3_core.c usb: mtu3: reset gadget when VBUS_FALL interrupt arises 2018-05-24 18:09:37 +02:00
mtu3_dr.c usb: mtu3: fix warning of sleep in atomic context in notifier callback 2018-05-24 18:09:37 +02:00
mtu3_dr.h usb: mtu3: fix ssusb_wakeup_set dummy 2018-01-16 10:01:01 +01:00
mtu3_gadget_ep0.c usb: mtu3: avoid sleep in atomic context when enter test mode 2018-05-24 18:09:37 +02:00
mtu3_gadget.c usb: mtu3: clear test_mode flag when reset 2018-05-24 18:09:37 +02:00
mtu3_host.c usb: mtu3: fix semicolon.cocci warnings 2018-01-16 10:01:01 +01:00
mtu3_hw_regs.h USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3_plat.c usb: mtu3: simplify getting .drvdata 2018-05-15 10:11:08 +03:00
mtu3_qmu.c USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3_qmu.h USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00
mtu3.h usb: mtu3: fix warning of sleep in atomic context in notifier callback 2018-05-24 18:09:37 +02:00