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 f4b042a commit 4ce35a3Copy full SHA for 4ce35a3
drivers/tty/serial/8250/8250_omap.c
@@ -1202,6 +1202,7 @@ static int omap8250_probe(struct platform_device *pdev)
1202
spin_lock_init(&priv->rx_dma_lock);
1203
1204
device_init_wakeup(&pdev->dev, true);
1205
+ pm_runtime_enable(&pdev->dev);
1206
pm_runtime_use_autosuspend(&pdev->dev);
1207
1208
/*
@@ -1215,7 +1216,6 @@ static int omap8250_probe(struct platform_device *pdev)
1215
1216
pm_runtime_set_autosuspend_delay(&pdev->dev, -1);
1217
1218
pm_runtime_irq_safe(&pdev->dev);
- pm_runtime_enable(&pdev->dev);
1219
1220
pm_runtime_get_sync(&pdev->dev);
1221
0 commit comments