mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
sparc64: wait_event_interruptible_timeout may return -ERESTARTSYS
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>
This commit is contained in:
parent
c21986a762
commit
f4c1363818
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ static int wait_for_pin(struct bbc_i2c_bus *bp, u8 *status)
|
||||||
bp->waiting = 1;
|
bp->waiting = 1;
|
||||||
add_wait_queue(&bp->wq, &wait);
|
add_wait_queue(&bp->wq, &wait);
|
||||||
while (limit-- > 0) {
|
while (limit-- > 0) {
|
||||||
unsigned long val;
|
long val;
|
||||||
|
|
||||||
val = wait_event_interruptible_timeout(
|
val = wait_event_interruptible_timeout(
|
||||||
bp->wq,
|
bp->wq,
|
||||||
|
|
Loading…
Add table
Reference in a new issue