Skip to content
Commit 5abd0114 authored by Yi Yang's avatar Yi Yang Committed by Greg Kroah-Hartman
Browse files

serial: tegra: handle clk prepare error in tegra_uart_hw_init()



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

Fixes: e9ea096d ("serial: tegra: add serial driver")
Signed-off-by: default avatarYi Yang <yiyang13@huawei.com>
Link: https://lore.kernel.org/r/20230817105406.228674-1-yiyang13@huawei.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a6498f2
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