We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ec0b5 commit 09a2cf6Copy full SHA for 09a2cf6
drivers/tty/serial/8250/8250_omap.c
@@ -1234,6 +1234,7 @@ static int omap8250_probe(struct platform_device *pdev)
1234
spin_lock_init(&priv->rx_dma_lock);
1235
1236
device_init_wakeup(&pdev->dev, true);
1237
+ pm_runtime_enable(&pdev->dev);
1238
pm_runtime_use_autosuspend(&pdev->dev);
1239
1240
/*
@@ -1247,7 +1248,6 @@ static int omap8250_probe(struct platform_device *pdev)
1247
1248
pm_runtime_set_autosuspend_delay(&pdev->dev, -1);
1249
1250
pm_runtime_irq_safe(&pdev->dev);
- pm_runtime_enable(&pdev->dev);
1251
1252
pm_runtime_get_sync(&pdev->dev);
1253
0 commit comments