Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306421
b: refs/heads/master
c: 9ab494b
h: refs/heads/master
i:
  306419: c9fb287
v: v3
  • Loading branch information
Malcolm Priestley authored and Mauro Carvalho Chehab committed May 15, 2012
1 parent 14e69d8 commit f420937
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 0550b29464f1d43a690198a6a8e984ae788ba9fa
refs/heads/master: 9ab494b010e1b4c4693afa297ffbcf0f09bb9063
4 changes: 2 additions & 2 deletions trunk/drivers/media/dvb/dvb-usb/it913x.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static int it913x_bulk_write(struct usb_device *dev,
for (i = 0; i < IT913X_RETRY; i++) {
ret = usb_bulk_msg(dev, usb_sndbulkpipe(dev, pipe),
snd, len , &actual_l, IT913X_SND_TIMEOUT);
if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
if (ret != -EBUSY && ret != -ETIMEDOUT)
break;
}

Expand All @@ -99,7 +99,7 @@ static int it913x_bulk_read(struct usb_device *dev,
for (i = 0; i < IT913X_RETRY; i++) {
ret = usb_bulk_msg(dev, usb_rcvbulkpipe(dev, pipe),
rev, len , &actual_l, IT913X_RCV_TIMEOUT);
if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
if (ret != -EBUSY && ret != -ETIMEDOUT)
break;
}

Expand Down

0 comments on commit f420937

Please sign in to comment.