Re: [PATCH 2/2] serial: omap: fix wrong context restoration on init

2013-07-26 Thread Greg Kroah-Hartman
On Fri, Jul 12, 2013 at 03:11:46PM +0300, Felipe Balbi wrote: hi, On Fri, Jul 12, 2013 at 02:55:42PM +0300, Grygorii Strashko wrote: Since commit a630fbf serial: omap: Fix device tree based PM runtime the OMAP serial driver will always try to restore its context in

[PATCH 2/2] serial: omap: fix wrong context restoration on init

2013-07-12 Thread Grygorii Strashko
Since commit a630fbf serial: omap: Fix device tree based PM runtime the OMAP serial driver will always try to restore its context in serial_omap_runtime_resume(). But the problem is that during driver initialization the UART context is not ready yet and, as result, first call to pm_runtime_get*()

Re: [PATCH 2/2] serial: omap: fix wrong context restoration on init

2013-07-12 Thread Felipe Balbi
hi, On Fri, Jul 12, 2013 at 02:55:42PM +0300, Grygorii Strashko wrote: Since commit a630fbf serial: omap: Fix device tree based PM runtime the OMAP serial driver will always try to restore its context in serial_omap_runtime_resume(). But the problem is that during driver initialization the