Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285363
b: refs/heads/master
c: 4be9c8f
h: refs/heads/master
i:
  285361: a47233f
  285359: 2a40933
v: v3
  • Loading branch information
Thierry Reding authored and Mauro Carvalho Chehab committed Dec 11, 2011
1 parent c4fd43c commit 3959881
Show file tree
Hide file tree
Showing 3 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: 875f0e3da1e88f166940cbb5e530b05eb64ccc1f
refs/heads/master: 4be9c8fb58e48cd0110bd9504b0af1e18fa54467
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/tm6000/tm6000-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ int tm6000_ir_init(struct tm6000_core *dev)
rc->scanmask = 0xffff;
rc->priv = ir;
rc->change_protocol = tm6000_ir_change_protocol;
if (&dev->int_in) {
if (dev->int_in.endp) {
rc->open = __tm6000_ir_int_start;
rc->close = __tm6000_ir_int_stop;
INIT_DELAYED_WORK(&ir->work, tm6000_ir_int_work);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ static int tm6000_release(struct file *file)

usb_reset_configuration(dev->udev);

if (&dev->int_in)
if (dev->int_in.endp)
usb_set_interface(dev->udev,
dev->isoc_in.bInterfaceNumber, 2);
else
Expand Down

0 comments on commit 3959881

Please sign in to comment.