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 e73b5c7 commit bcea0f5Copy full SHA for bcea0f5
drivers/tty/serial/owl-uart.c
@@ -731,6 +731,7 @@ static int owl_uart_probe(struct platform_device *pdev)
731
owl_port->port.uartclk = clk_get_rate(owl_port->clk);
732
if (owl_port->port.uartclk == 0) {
733
dev_err(&pdev->dev, "clock rate is zero\n");
734
+ clk_disable_unprepare(owl_port->clk);
735
return -EINVAL;
736
}
737
owl_port->port.flags = UPF_BOOT_AUTOCONF | UPF_IOREMAP | UPF_LOW_LATENCY;
0 commit comments