serial: xuartps: Enable clocks in the pm disable case also
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Thu, 6 Apr 2017 06:57:41 +0000 (12:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 16:54:07 +0000 (18:54 +0200)
commitecfc5771ef0617d33a19a75643b7b3708895018e
tree523a55ac3737aaea436e1894ab962bd5ecc1812e
parentcade3580f79aeba0048d1dc4efd754786713c2c3
serial: xuartps: Enable clocks in the pm disable case also

When Power management is disabled then the clocks are not getting
enabled. This patch enables it for the !PM case also.
While at it also pm_runtime_set_active is called before
calling pm_runtime_enable.

Reported-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c