diff options
| -rw-r--r-- | drivers/tty/serial/omap-serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 50f2c5a5e450..1ea05ac57aa7 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c | |||
| @@ -1770,7 +1770,8 @@ static int serial_omap_probe(struct platform_device *pdev) | |||
| 1770 | return 0; | 1770 | return 0; |
| 1771 | 1771 | ||
| 1772 | err_add_port: | 1772 | err_add_port: |
| 1773 | pm_runtime_put(&pdev->dev); | 1773 | pm_runtime_dont_use_autosuspend(&pdev->dev); |
| 1774 | pm_runtime_put_sync(&pdev->dev); | ||
| 1774 | pm_runtime_disable(&pdev->dev); | 1775 | pm_runtime_disable(&pdev->dev); |
| 1775 | pm_qos_remove_request(&up->pm_qos_request); | 1776 | pm_qos_remove_request(&up->pm_qos_request); |
| 1776 | device_init_wakeup(up->dev, false); | 1777 | device_init_wakeup(up->dev, false); |
