]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit10d5698ca3cd270e91e9278bb389b7dc1bd62b38
treebe4be0c32baa252a18374ec346971b86a5926565
parentbe606f8837e2f53b6bb508146018e7d8e94fa96a
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