Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322061
b: refs/heads/master
c: 820ddfa
h: refs/heads/master
i:
  322059: 2be27df
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Aug 12, 2012
1 parent 76106d2 commit 3e5fbc8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 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: ac6eb458f5f9d45dd3bbfe8a91683c09860910c5
refs/heads/master: 820ddfa6ca87fc12bf202907b77f635df2098e66
9 changes: 0 additions & 9 deletions trunk/drivers/media/radio/radio-shark.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,15 +286,6 @@ static int usb_shark_probe(struct usb_interface *intf,
if (!shark->transfer_buffer)
goto err_alloc_buffer;

/*
* Work around a bug in usbhid/hid-core.c, where it leaves a dangling
* pointer in intfdata causing v4l2-device.c to not set it. Which
* results in usb_shark_disconnect() referencing the dangling pointer
*
* REMOVE (as soon as the above bug is fixed, patch submitted)
*/
usb_set_intfdata(intf, NULL);

shark->v4l2_dev.release = usb_shark_release;
v4l2_device_set_name(&shark->v4l2_dev, DRV_NAME, &shark_instance);
retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev);
Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/media/radio/radio-shark2.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,6 @@ static int usb_shark_probe(struct usb_interface *intf,
if (!shark->transfer_buffer)
goto err_alloc_buffer;

/*
* Work around a bug in usbhid/hid-core.c, where it leaves a dangling
* pointer in intfdata causing v4l2-device.c to not set it. Which
* results in usb_shark_disconnect() referencing the dangling pointer
*
* REMOVE (as soon as the above bug is fixed, patch submitted)
*/
usb_set_intfdata(intf, NULL);

shark->v4l2_dev.release = usb_shark_release;
v4l2_device_set_name(&shark->v4l2_dev, DRV_NAME, &shark_instance);
retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev);
Expand Down

0 comments on commit 3e5fbc8

Please sign in to comment.