projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0a840
)
tty_port: Fix return on interrupted use
author
Alan Cox
<alan@linux.intel.com>
Fri, 17 Jul 2009 15:17:26 +0000
(16:17 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 17 Jul 2009 15:50:43 +0000
(08:50 -0700)
Whoops.. fortunately not many people use this yet.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_port.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_port.c
b/drivers/char/tty_port.c
index 4e862a75f7ff213bd62022e852a9d485b65adbbf..9769b1149f7602cf9c2c7ea1a3eab70bfad9b0a0 100644
(file)
--- a/
drivers/char/tty_port.c
+++ b/
drivers/char/tty_port.c
@@
-267,7
+267,7
@@
int tty_port_block_til_ready(struct tty_port *port,
if (retval == 0)
port->flags |= ASYNC_NORMAL_ACTIVE;
spin_unlock_irqrestore(&port->lock, flags);
- return
0
;
+ return
retval
;
}
EXPORT_SYMBOL(tty_port_block_til_ready);