]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci-mtk: enable wake-up interrupt after runtime_suspend called
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 25 Oct 2021 07:01:54 +0000 (15:01 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Oct 2021 18:49:32 +0000 (20:49 +0200)
commitf023018785f66cfbaab21b58de39e6dc758ca1b3
tree5929dd2e0c08962e7aac8ad3b415cebbe7e0a667
parent693287618d2a2be3364749ccd4b7b479cdaa6f1a
usb: xhci-mtk: enable wake-up interrupt after runtime_suspend called

Use new function dev_pm_set_dedicated_wake_irq_reverse() to request
dedicated wake-up interrupt, due to we want to enable the wake IRQ
after running ->runtime_suspend().

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/usb/host/xhci-mtk.c