diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2018-05-23 11:53:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-24 19:09:37 +0300 |
commit | 681e9485241463e1e8d8cfd0a11fb252f49c997f (patch) | |
tree | 8c28668617df61b5bf0be60f3773f601a27299c2 /drivers/power | |
parent | 4f9f032c256c3fc8ed23461e71d7acf3363a969f (diff) | |
download | linux-681e9485241463e1e8d8cfd0a11fb252f49c997f.tar.xz |
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