Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180856
b: refs/heads/master
c: 57ab12e
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Kosina committed Feb 17, 2010
1 parent 7c7ae76 commit 39ef0b8
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 7f978b9bf535cbbd1ae8d9fbdd7c4f60ab38f260
refs/heads/master: 57ab12e418ec4fe24c11788bb1bbdabb29d05679
5 changes: 2 additions & 3 deletions trunk/drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,9 +1005,6 @@ static int usbhid_start(struct hid_device *hid)

spin_lock_init(&usbhid->lock);

usbhid->intf = intf;
usbhid->ifnum = interface->desc.bInterfaceNumber;

usbhid->urbctrl = usb_alloc_urb(0, GFP_KERNEL);
if (!usbhid->urbctrl) {
ret = -ENOMEM;
Expand Down Expand Up @@ -1178,6 +1175,8 @@ static int usbhid_probe(struct usb_interface *intf, const struct usb_device_id *

hid->driver_data = usbhid;
usbhid->hid = hid;
usbhid->intf = intf;
usbhid->ifnum = interface->desc.bInterfaceNumber;

ret = hid_add_device(hid);
if (ret) {
Expand Down

0 comments on commit 39ef0b8

Please sign in to comment.