Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43855
b: refs/heads/master
c: 4916b3a
h: refs/heads/master
i:
  43853: 4091f30
  43851: 2064546
  43847: cb1e32c
  43839: 42b5abd
v: v3
  • Loading branch information
Jiri Kosina authored and Greg Kroah-Hartman committed Dec 8, 2006
1 parent 084cd32 commit d0a67c4
Show file tree
Hide file tree
Showing 11 changed files with 371 additions and 282 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: 229695e51efc4ed5e04ab471c82591d0f432909d
refs/heads/master: 4916b3a57fc94664677d439b911b8aaf86c7ec23
10 changes: 2 additions & 8 deletions trunk/drivers/hid/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,8 +798,7 @@ int hidinput_connect(struct hid_device *hid)
input_dev->id.vendor = hid->vendor;
input_dev->id.product = hid->product;
input_dev->id.version = hid->version;
input_dev->cdev.dev = &hid->intf->dev;

input_dev->cdev.dev = hid->dev;
hidinput->input = input_dev;
list_add_tail(&hidinput->list, &hid->inputs);
}
Expand All @@ -821,13 +820,8 @@ int hidinput_connect(struct hid_device *hid)
}
}

/* This only gets called when we are a single-input (most of the
* time). IOW, not a HID_QUIRK_MULTI_INPUT. The hid_ff_init() is
* only useful in this case, and not for multi-input quirks. */
if (hidinput) {
hid_ff_init(hid);
if (hidinput)
input_register_device(hidinput->input);
}

return 0;
}
Expand Down
Loading

0 comments on commit d0a67c4

Please sign in to comment.