]> git.karo-electronics.de Git - karo-tx-linux.git/commit
serial: imx: enable the clocks for console
authorHuang Shijie <b32955@freescale.com>
Sun, 9 Jun 2013 02:01:19 +0000 (10:01 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:03 +0000 (09:54 +0800)
commit2c62ba1d7f0acc18f18a7f10e81390382620597f
tree74642dcda09c23eaf81d1f322cf8fb5636a2a088
parent73e4e685c5f153f47d799014a7c915486c07674b
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