Unverified Commit 7ee72490 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11607 tty: serial: fsl_lpuart: mark last busy before uart_add_one_port

parents 77c3a710 a7886d07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2930,6 +2930,7 @@ static int lpuart_probe(struct platform_device *pdev)
	pm_runtime_set_autosuspend_delay(&pdev->dev, UART_AUTOSUSPEND_TIMEOUT);
	pm_runtime_set_active(&pdev->dev);
	pm_runtime_enable(&pdev->dev);
	pm_runtime_mark_last_busy(&pdev->dev);

	ret = lpuart_global_reset(sport);
	if (ret)