projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'tty-5.14-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[linux-2.6-microblaze.git]
/
drivers
/
tty
/
serial
/
max310x.c
diff --git
a/drivers/tty/serial/max310x.c
b/drivers/tty/serial/max310x.c
index
0c1e4df
..
ef11860
100644
(file)
--- a/
drivers/tty/serial/max310x.c
+++ b/
drivers/tty/serial/max310x.c
@@
-1293,7
+1293,8
@@
static int max310x_probe(struct device *dev, const struct max310x_devtype *devty
freq = uartclk;
if (freq == 0) {
dev_err(dev, "Cannot get clock rate\n");
- return -EINVAL;
+ ret = -EINVAL;
+ goto out_clk;
}
if (xtal) {