Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192636
b: refs/heads/master
c: 2cd4fd1
h: refs/heads/master
v: v3
  • Loading branch information
Michel Ludwig authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 305b6df commit f864285
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 7c3f53ec491b64b3c3fa339e4e77e49782b0be9f
refs/heads/master: 2cd4fd1e57cb6897612ead8a3d39ecb444920a1a
8 changes: 6 additions & 2 deletions trunk/drivers/staging/tm6000/tm6000-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,15 @@ static int tm6000_usb_probe(struct usb_interface *interface,

/* Increment usage count */
tm6000_devused|=1<<nr;
snprintf(dev->name, 29, "tm6000 #%d", nr);

dev->model=id->driver_info;
if ((card[nr]>=0) && (card[nr]<ARRAY_SIZE(tm6000_boards))) {
dev->model=card[nr];
}

INIT_LIST_HEAD(&dev->tm6000_corelist);
dev->udev= usbdev;
dev->model=id->driver_info;
snprintf(dev->name, 29, "tm6000 #%d", nr);
dev->devno=nr;

switch (usbdev->speed) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ static int tm6000_start_thread( struct tm6000_dmaqueue *dma_q,

/* submit urbs and enables IRQ */
for (i = 0; i < dev->isoc_ctl.num_bufs; i++) {
rc = usb_submit_urb(dev->isoc_ctl.urb[i], GFP_KERNEL);
rc = usb_submit_urb(dev->isoc_ctl.urb[i], GFP_ATOMIC);
if (rc) {
tm6000_err("submit of urb %i failed (error=%i)\n", i,
rc);
Expand Down

0 comments on commit f864285

Please sign in to comment.