]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix serial console on SNI RM400 machines
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 31 May 2017 20:21:03 +0000 (22:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Jun 2017 09:48:52 +0000 (18:48 +0900)
commite279e6d98e0cf2c2fe008b3c29042b92f0e17b1d
tree127bd5ae03ce7db4479ed8bfb7bb664cb8828edc
parent8a8dabf2dd68caff842d38057097c23bc514ea6e
Fix serial console on SNI RM400 machines

sccnxp driver doesn't get the correct uart clock rate, if CONFIG_HAVE_CLOCK
is disabled. Correct usage of clk API to make it work with/without it.

Fixes: 90efa75f7ab0 (serial: sccnxp: Using CLK API for getting UART clock)
Suggested-by: Russell King - ARM Linux <linux@armlinux.org.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sccnxp.c