Message ID | 1374487277-26099-3-git-send-email-rnayak@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Rajendra, On Mon, 22 Jul 2013, Rajendra Nayak wrote: > From: Grygorii Strashko <grygorii.strashko@ti.com> > > If earlyprintk is enabled and current UART is console port the platform > code can mark it as RPM_ACTIVE to sync real IP state with PM Runtime and > avoid resuming of already active device, but now, driver initialization > will be performed in the wrong way: ... > CC: Tony Lindgren <tony@atomide.com> > CC: Rajendra Nayak <rnayak@ti.com> > CC: Felipe Balbi <balbi@ti.com> > CC: Kevin Hilman <khilman@linaro.org> > > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Did you intend to add your Signed-off-by: to this patch? Since you're formally submitting it, it needs to have your Signed-off-by: for me to take it. Let me know and I'll add it if needed - - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Monday 29 July 2013 02:14 PM, Paul Walmsley wrote: > Rajendra, > > On Mon, 22 Jul 2013, Rajendra Nayak wrote: > >> From: Grygorii Strashko <grygorii.strashko@ti.com> >> >> If earlyprintk is enabled and current UART is console port the platform >> code can mark it as RPM_ACTIVE to sync real IP state with PM Runtime and >> avoid resuming of already active device, but now, driver initialization >> will be performed in the wrong way: > > ... > >> CC: Tony Lindgren <tony@atomide.com> >> CC: Rajendra Nayak <rnayak@ti.com> >> CC: Felipe Balbi <balbi@ti.com> >> CC: Kevin Hilman <khilman@linaro.org> >> >> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> > > Did you intend to add your Signed-off-by: to this patch? Since you're > formally submitting it, it needs to have your Signed-off-by: for me to > take it. Let me know and I'll add it if needed - Sorry about that Paul. I indeed missed adding my SoB for this one. Signed-off-by: Rajendra Nayak <rnayak@ti.com> > > - Paul > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Monday 29 July 2013 02:20 PM, Rajendra Nayak wrote: > On Monday 29 July 2013 02:14 PM, Paul Walmsley wrote: >> Rajendra, >> >> On Mon, 22 Jul 2013, Rajendra Nayak wrote: >> >>> From: Grygorii Strashko <grygorii.strashko@ti.com> >>> >>> If earlyprintk is enabled and current UART is console port the platform >>> code can mark it as RPM_ACTIVE to sync real IP state with PM Runtime and >>> avoid resuming of already active device, but now, driver initialization >>> will be performed in the wrong way: >> >> ... >> >>> CC: Tony Lindgren <tony@atomide.com> >>> CC: Rajendra Nayak <rnayak@ti.com> >>> CC: Felipe Balbi <balbi@ti.com> >>> CC: Kevin Hilman <khilman@linaro.org> >>> >>> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> >> >> Did you intend to add your Signed-off-by: to this patch? Since you're >> formally submitting it, it needs to have your Signed-off-by: for me to >> take it. Let me know and I'll add it if needed - > > Sorry about that Paul. I indeed missed adding my SoB for this one. > > Signed-off-by: Rajendra Nayak <rnayak@ti.com> Paul, Looks like this one is already been queued by Greg. regards, Rajendra > >> >> - Paul >> > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, 30 Jul 2013, Rajendra Nayak wrote:
> Looks like this one is already been queued by Greg.
OK, thanks for letting me know; I've dropped it.
- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index b6d1728..f39bf0c 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1501,7 +1501,6 @@ static int serial_omap_probe(struct platform_device *pdev) INIT_WORK(&up->qos_work, serial_omap_uart_qos_work); platform_set_drvdata(pdev, up); - pm_runtime_enable(&pdev->dev); if (omap_up_info->autosuspend_timeout == 0) omap_up_info->autosuspend_timeout = -1; device_init_wakeup(up->dev, true); @@ -1510,6 +1509,8 @@ static int serial_omap_probe(struct platform_device *pdev) omap_up_info->autosuspend_timeout); pm_runtime_irq_safe(&pdev->dev); + pm_runtime_enable(&pdev->dev); + pm_runtime_get_sync(&pdev->dev); omap_serial_fill_features_erratas(up);