Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47555
b: refs/heads/master
c: c251ae0
h: refs/heads/master
i:
  47553: e282a89
  47551: 5394998
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Feb 11, 2007
1 parent 3bbcdb4 commit 7d95f82
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11324edd4ad34981764b25bed44d46a1507b62e1
refs/heads/master: c251ae0d7514563c7fdace0d390175454761228b
8 changes: 4 additions & 4 deletions trunk/drivers/char/moxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ static void __exit moxa_exit(void)
if (verbose)
printk("Unloading module moxa ...\n");

del_timer(&moxaTimer);
del_timer_sync(&moxaTimer);

for (i = 0; i < MAX_PORTS; i++)
del_timer(&moxaEmptyTimer[i]);
del_timer_sync(&moxaEmptyTimer[i]);

if (tty_unregister_driver(moxaDriver))
printk("Couldn't unregister MOXA Intellio family serial driver\n");
Expand Down Expand Up @@ -529,7 +529,7 @@ static void moxa_close(struct tty_struct *tty, struct file *filp)
if (ch->asyncflags & ASYNC_INITIALIZED) {
setup_empty_event(tty);
tty_wait_until_sent(tty, 30 * HZ); /* 30 seconds timeout */
del_timer(&moxaEmptyTimer[ch->port]);
del_timer_sync(&moxaEmptyTimer[ch->port]);
}
shut_down(ch);
MoxaPortFlushData(port, 2);
Expand Down Expand Up @@ -1004,7 +1004,7 @@ static void check_xmit_empty(unsigned long data)
struct moxa_str *ch;

ch = (struct moxa_str *) data;
del_timer(&moxaEmptyTimer[ch->port]);
del_timer_sync(&moxaEmptyTimer[ch->port]);
if (ch->tty && (ch->statusflags & EMPTYWAIT)) {
if (MoxaPortTxQueue(ch->port) == 0) {
ch->statusflags &= ~EMPTYWAIT;
Expand Down

0 comments on commit 7d95f82

Please sign in to comment.