Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5490
b: refs/heads/master
c: a9b2e91
h: refs/heads/master
v: v3
  • Loading branch information
Pete Zaitcev authored and Linus Torvalds committed Jul 29, 2005
1 parent 7508e2d commit 95c88d1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 498f78e6fcf558d0dec31f5648f43426ae16433f
refs/heads/master: a9b2e9170bdf1dd27ca4aa9a63048065d252d116
5 changes: 3 additions & 2 deletions trunk/drivers/usb/input/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,12 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel

void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, struct pt_regs *regs)
{
struct input_dev *input = &field->hidinput->input;
struct input_dev *input;
int *quirks = &hid->quirks;

if (!input)
if (!field->hidinput)
return;
input = &field->hidinput->input;

input_regs(input, regs);

Expand Down

0 comments on commit 95c88d1

Please sign in to comment.