Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351894
b: refs/heads/master
c: f8f9917
h: refs/heads/master
v: v3
  • Loading branch information
Waldemar Rymarkiewicz authored and Samuel Ortiz committed Jan 9, 2013
1 parent 42bd3c5 commit 20a5216
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 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: 89fb20256725e735601ea6439680956fa2ec4741
refs/heads/master: f8f991710b580878c88cfe49d918cfb0c9e15236
34 changes: 18 additions & 16 deletions trunk/drivers/nfc/pn533.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,18 +505,19 @@ static void pn533_recv_response(struct urb *urb)

switch (urb->status) {
case 0:
/* success */
break;
break; /* success */
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN:
nfc_dev_dbg(&dev->interface->dev,
"Urb shutting down with status: %d", urb->status);
"The urb has been canceled (status %d)",
urb->status);
dev->wq_in_error = urb->status;
goto sched_wq;
break;
case -ESHUTDOWN:
default:
nfc_dev_err(&dev->interface->dev,
"Nonzero urb status received: %d", urb->status);
"Urb failure (status %d)", urb->status);
dev->wq_in_error = urb->status;
goto sched_wq;
}
Expand Down Expand Up @@ -562,18 +563,19 @@ static void pn533_recv_ack(struct urb *urb)

switch (urb->status) {
case 0:
/* success */
break;
break; /* success */
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN:
nfc_dev_dbg(&dev->interface->dev,
"Urb shutting down with status: %d", urb->status);
"The urb has been stopped (status %d)",
urb->status);
dev->wq_in_error = urb->status;
goto sched_wq;
break;
case -ESHUTDOWN:
default:
nfc_dev_err(&dev->interface->dev,
"Nonzero urb status received: %d", urb->status);
"Urb failure (status %d)", urb->status);
dev->wq_in_error = urb->status;
goto sched_wq;
}
Expand Down Expand Up @@ -981,17 +983,17 @@ static void pn533_send_complete(struct urb *urb)

switch (urb->status) {
case 0:
/* success */
break;
break; /* success */
case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN:
nfc_dev_dbg(&dev->interface->dev,
"Urb shutting down with status: %d", urb->status);
"The urb has been stopped (status %d)",
urb->status);
break;
case -ESHUTDOWN:
default:
nfc_dev_dbg(&dev->interface->dev,
"Nonzero urb status received: %d", urb->status);
nfc_dev_err(&dev->interface->dev,
"Urb failure (status %d)", urb->status);
}
}

Expand Down

0 comments on commit 20a5216

Please sign in to comment.