projects
/
GitHub
/
moto-9609
/
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:
c21986a
)
sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 4 Mar 2009 08:19:28 +0000
(
00:19
-0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Mar 2009 08:19:28 +0000
(
00:19
-0800)
wait_event_interruptible_timeout may return -ERESTARTSYS.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/bbc_i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sbus/char/bbc_i2c.c
b/drivers/sbus/char/bbc_i2c.c
index f08e169ba1b51a150372753672741df102818591..7e30e5f6e032a30bbdae7d89355b49122b4f6b42 100644
(file)
--- a/
drivers/sbus/char/bbc_i2c.c
+++ b/
drivers/sbus/char/bbc_i2c.c
@@
-129,7
+129,7
@@
static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)
bp->waiting = 1;
add_wait_queue(&bp->wq, &wait);
while (limit-- > 0) {
-
unsigned
long val;
+ long val;
val = wait_event_interruptible_timeout(
bp->wq,