serial: imx: enable the clocks for console
authorHuang Shijie <b32955@freescale.com>
Sun, 9 Jun 2013 02:01:19 +0000 (10:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2013 05:31:47 +0000 (22:31 -0700)
commit0c375501be6e6dc23c11ebfa394434517444e62d
treea474b10cf8ad752c56403e36c90ed4d77f83c678
parentc9e2e946fb0ba5d2398feb89558f98c5c28e23e3
serial: imx: enable the clocks for console

The console's clocks are disabled after the uart driver is probed.
It makes that we can see less log from the console now
(though we still can get all the log by the `dmesg`).

So enable the clocks for console, and we can see all the log again.

This patch also disables the sport->clk_per when we fail to enable
the sport->clk_ipg;

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c