]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: imx: remove the uart_console() check
authorHuang Shijie <b32955@freescale.com>
Fri, 28 Jun 2013 05:39:42 +0000 (13:39 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:03 +0000 (09:54 +0800)
commit17af01038ee59a4943ec76be78656171d5ab98e6
treed96b1a3ddc7d093595537e26ae59186fbef67294
parentde7a7a2dfd8e9c80163d7e8dcd6dc5538d9701d7
serial: imx: remove the uart_console() check

The uart_console() check makes the clocks(clk_per and clk_ipg) opened
even when we close the console uart.

This patch enable/disable the clocks in imx_console_write(),
so we can keep the clocks closed when the console uart is closed.

Also remove the clock enable/disable oprations in the probe, we do not
need them any more.

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