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 11f1ad3 commit 3fc1eb5Copy full SHA for 3fc1eb5
drivers/tty/serial/efm32-uart.c
@@ -751,7 +751,8 @@ static int efm32_uart_probe(struct platform_device *pdev)
751
752
if (pdata)
753
efm_port->pdata = *pdata;
754
- }
+ } else if (ret < 0)
755
+ goto err_probe_dt;
756
757
line = efm_port->port.line;
758
@@ -764,6 +765,7 @@ static int efm32_uart_probe(struct platform_device *pdev)
764
765
766
if (line >= 0 && line < ARRAY_SIZE(efm32_uart_ports))
767
efm32_uart_ports[line] = NULL;
768
+err_probe_dt:
769
err_get_rxirq:
770
err_too_small:
771
err_get_base:
0 commit comments