Commit 7c658e6b authored by Thomas Langer's avatar Thomas Langer Committed by Greg Kroah-Hartman

serial: MIPS: lantiq: add clk_enable() call to driver

Enable the clock if one is present when setting up the console.
Signed-off-by: default avatarThomas Langer <thomas.langer@lantiq.com>
Acked-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6734a834
......@@ -636,6 +636,9 @@ lqasc_console_setup(struct console *co, char *options)
port = &ltq_port->port;
if (!IS_ERR(ltq_port->clk))
clk_enable(ltq_port->clk);
port->uartclk = clk_get_rate(ltq_port->fpiclk);
if (options)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment