We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c026a commit 134f49dCopy full SHA for 134f49d
drivers/tty/serial/8250/8250_tegra.c
@@ -113,13 +113,15 @@ static int tegra_uart_probe(struct platform_device *pdev)
113
114
ret = serial8250_register_8250_port(&port8250);
115
if (ret < 0)
116
- goto err_clkdisable;
+ goto err_ctrl_assert;
117
118
platform_set_drvdata(pdev, uart);
119
uart->line = ret;
120
121
return 0;
122
123
+err_ctrl_assert:
124
+ reset_control_assert(uart->rst);
125
err_clkdisable:
126
clk_disable_unprepare(uart->clk);
127
0 commit comments