mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 13:16:22 +00:00
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>
This commit is contained in:
parent
0537282d3b
commit
7ddae8c779
@ -337,7 +337,7 @@ static int mtu3_probe(struct platform_device *pdev)
|
||||
goto comm_init_err;
|
||||
|
||||
if (ssusb->wakeup_irq > 0) {
|
||||
ret = dev_pm_set_dedicated_wake_irq(dev, ssusb->wakeup_irq);
|
||||
ret = dev_pm_set_dedicated_wake_irq_reverse(dev, ssusb->wakeup_irq);
|
||||
if (ret) {
|
||||
dev_err(dev, "failed to set wakeup irq %d\n", ssusb->wakeup_irq);
|
||||
goto comm_exit;
|
||||
|
Loading…
Reference in New Issue
Block a user