summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2018-05-23 10:53:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-24 18:09:37 +0200
commit681e9485241463e1e8d8cfd0a11fb252f49c997f (patch)
tree8c28668617df61b5bf0be60f3773f601a27299c2 /drivers/power
parentusb: mtu3: reset gadget when VBUS_FALL interrupt arises (diff)
downloadlinux-681e9485241463e1e8d8cfd0a11fb252f49c997f.tar.xz
linux-681e9485241463e1e8d8cfd0a11fb252f49c997f.zip
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions