Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271686
b: refs/heads/master
c: 14f0915
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding authored and Mauro Carvalho Chehab committed Aug 31, 2011
1 parent bd38521 commit 0191b66
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 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: 9dac920708abb2981d02e6922fd797ef388db5ce
refs/heads/master: 14f0915464f91574652afa95850e642abd205adc
14 changes: 13 additions & 1 deletion trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -513,9 +513,21 @@ static void tm6000_irq_callback(struct urb *urb)
struct tm6000_core *dev = container_of(dma_q, struct tm6000_core, vidq);
int i;

if (!dev)
switch (urb->status) {
case 0:
case -ETIMEDOUT:
break;

case -ECONNRESET:
case -ENOENT:
case -ESHUTDOWN:
return;

default:
tm6000_err("urb completion error %d.\n", urb->status);
break;
}

spin_lock(&dev->slock);
tm6000_isoc_copy(urb);
spin_unlock(&dev->slock);
Expand Down

0 comments on commit 0191b66

Please sign in to comment.