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:
02f11f3
)
epca: call tty_port_init
author
Alan Cox
<alan@redhat.com>
Mon, 13 Oct 2008 09:32:09 +0000
(10:32 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:38 +0000
(09:51 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/epca.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/epca.c
b/drivers/char/epca.c
index 456e4ede049f2a0dad2bd0452199461272f1c353..4998b2761e8f6e891b1595a686f1e29f948e9fcc 100644
(file)
--- a/
drivers/char/epca.c
+++ b/
drivers/char/epca.c
@@
-1376,6
+1376,7
@@
static void post_fep_init(unsigned int crd)
unsigned long flags;
u16 tseg, rseg;
+ tty_port_init(&ch->port);
ch->brdchan = bc;
ch->mailbox = gd;
INIT_WORK(&ch->tqueue, do_softint);
@@
-1510,10
+1511,6
@@
static void post_fep_init(unsigned int crd)
ch->fepstopca = 0;
ch->close_delay = 50;
- ch->port.count = 0;
- ch->port.blocked_open = 0;
- init_waitqueue_head(&ch->port.open_wait);
- init_waitqueue_head(&ch->port.close_wait);
spin_unlock_irqrestore(&epca_lock, flags);
}