projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f00f6
)
TTY: crisv10, initialize tty_port
author
Jiri Slaby
<jslaby@suse.cz>
Mon, 2 Apr 2012 11:53:46 +0000
(13:53 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 18:14:49 +0000
(11:14 -0700)
The tty_port used in the driver is left uninitialized. Add the
initialization there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/crisv10.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/serial/crisv10.c
b/drivers/tty/serial/crisv10.c
index 004ee2e9003acf55600b41d7cc330579a4488e52..80b6b1b1f7257d3b1da80f1b58523e7465bdb36b 100644
(file)
--- a/
drivers/tty/serial/crisv10.c
+++ b/
drivers/tty/serial/crisv10.c
@@
-4462,6
+4462,7
@@
static int __init rs_init(void)
info->enabled = 0;
}
}
+ tty_port_init(&info->port);
info->uses_dma_in = 0;
info->uses_dma_out = 0;
info->line = i;