Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271698
b: refs/heads/master
c: f8dbab2
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 1, 2011
1 parent 8f6faf8 commit 4809ddc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d657229ac4378700976fb2333c7433c5ea379d08
refs/heads/master: f8dbab29f4d4b977a56776af0d5296b0e6386aef
6 changes: 6 additions & 0 deletions trunk/drivers/staging/tm6000/tm6000-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,12 @@ int tm6000_reset(struct tm6000_core *dev)

msleep(5);

/*
* Not all devices have int_in defined
*/
if (!dev->int_in.endp)
return 0;

err = usb_set_interface(dev->udev, dev->isoc_in.bInterfaceNumber, 2);
if (err < 0) {
tm6000_err("failed to select interface %d, alt. setting 2\n",
Expand Down

0 comments on commit 4809ddc

Please sign in to comment.