Yi Yang 1c37013734 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
[ Upstream commit 5abd01145d0cc6cd1b7c2fe6ee0b9ea0fa13671e ]

In tegra_uart_hw_init(), the return value of clk_prepare_enable() should
be checked since it might fail.

Fixes: e9ea096dd225 ("serial: tegra: add serial driver")
Signed-off-by: Yi Yang <yiyang13@huawei.com>
Link: https://lore.kernel.org/r/20230817105406.228674-1-yiyang13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:22:47 +02:00
..
2023-07-23 13:47:53 +02:00
2021-07-27 12:17:21 +02:00
2022-01-27 11:03:55 +01:00
2021-08-09 08:52:46 +02:00
2021-04-22 12:09:25 +02:00
2022-06-14 18:36:08 +02:00
2022-06-14 18:36:08 +02:00