usb: mtu3: enable wake-up interrupt after runtime_suspend called
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 25 Oct 2021 07:01:55 +0000 (15:01 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Oct 2021 18:49:32 +0000 (20:49 +0200)
commit7ddae8c779dacc83918e7c6e0e2463bdd71005dd
treea5914ec27932154f783e8d8070cee947fc65e058
parent0537282d3b09df6f51e58f284ddfa730951060ad
usb: mtu3: enable wake-up interrupt after runtime_suspend called

Use the new API 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/mtu3/mtu3_plat.c