Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174154
b: refs/heads/master
c: 8157852
h: refs/heads/master
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 6cc2991 commit 317166a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 2d19a2c1186d86e38b51ef59e4b9678f8ad7acf4
refs/heads/master: 8157852f73f961b28d495bfa8374263d293b106d
5 changes: 2 additions & 3 deletions trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static void fill_frame(struct gspca_dev *gspca_dev,
return;
#endif
PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status);
urb->status = 0;
goto resubmit;
}
pkt_scan = gspca_dev->sd_desc->pkt_scan;
Expand Down Expand Up @@ -214,15 +215,13 @@ static void bulk_irq(struct urb *urb)
break;
case -ESHUTDOWN:
return; /* disconnection */
case -ECONNRESET:
urb->status = 0;
break;
default:
#ifdef CONFIG_PM
if (gspca_dev->frozen)
return;
#endif
PDEBUG(D_ERR|D_PACK, "urb status: %d", urb->status);
urb->status = 0;
goto resubmit;
}

Expand Down

0 comments on commit 317166a

Please sign in to comment.