serial: omap: fix sequence of pm_runtime_* calls.
authorRuchika Kharwar <ruchika@ti.com>
Thu, 6 Sep 2012 12:45:31 +0000 (15:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:17:02 +0000 (09:17 -0700)
commit856e35bf596e83a63c8a9ec749e9f2bcd24a1bdd
treebe4be0c32baa252a18374ec346971b86a5926565
parent6c3a30c7fbed820f65d5e708f1e83468d8ec9921
serial: omap: fix sequence of pm_runtime_* calls.

pm_runtime_enable() needs to be invoked before
pm_runtime_use_autosuspend(), and
pm_runtime_set_autosuspend_delay() functions.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c