forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/tty/serial/8250/8250_tegra.c
....@@ -111,13 +111,15 @@
111111
112112 ret = serial8250_register_8250_port(&port8250);
113113 if (ret < 0)
114
- goto err_clkdisable;
114
+ goto err_ctrl_assert;
115115
116116 platform_set_drvdata(pdev, uart);
117117 uart->line = ret;
118118
119119 return 0;
120120
121
+err_ctrl_assert:
122
+ reset_control_assert(uart->rst);
121123 err_clkdisable:
122124 clk_disable_unprepare(uart->clk);
123125