]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: a37xx: Do not call get_ref_clk() in _debug_uart_init()
authorPali Rohár <pali@kernel.org>
Mon, 26 Jul 2021 12:58:59 +0000 (14:58 +0200)
committerStefan Roese <sr@denx.de>
Sat, 31 Jul 2021 07:59:59 +0000 (09:59 +0200)
commit2cc4be280c259ac1e8e74c643c72e0331266056f
tree12a2b59bf6475489ce9d20ba79b65dc26286b1fa
parent5cd424d71f9f94b6524f929fb90ff6fa8d4eee28
serial: a37xx: Do not call get_ref_clk() in _debug_uart_init()

Static inline function _debug_uart_init() should avoid calling external
(non-inline) functions. Therefore do not call get_ref_clk() in
_debug_uart_init() and reimplement its functionality without external
function calls.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/serial/serial_mvebu_a3700.c