[linux-yocto] [PATCH 15/15] serial: 8250_dw: Set autosuspend time
Nilesh Bacchewar
nilesh.bacchewar at intel.com
Thu Nov 17 15:06:31 PST 2016
Upstream-status: Pending.
Set autosuspend time to allow port enter D3.
Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar at intel.com>
---
drivers/tty/serial/8250/8250_dw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c
index 6c0c49a..96ef14d 100644
--- a/drivers/tty/serial/8250/8250_dw.c
+++ b/drivers/tty/serial/8250/8250_dw.c
@@ -498,7 +498,7 @@ static int dw8250_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, data);
pm_runtime_use_autosuspend(&pdev->dev);
- pm_runtime_set_autosuspend_delay(&pdev->dev, -1);
+ pm_runtime_set_autosuspend_delay(&pdev->dev, 5000);
pm_runtime_set_active(&pdev->dev);
pm_runtime_enable(&pdev->dev);
--
1.9.1
More information about the linux-yocto
mailing list