Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366327
b: refs/heads/master
c: 6399f33
h: refs/heads/master
i:
  366325: dfd00fe
  366323: 2912059
  366319: 607ac3d
v: v3
  • Loading branch information
Mika Westerberg authored and Jiri Kosina committed Feb 25, 2013
1 parent 0e87bd0 commit a148beb
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 545bef681088cbf49c9c11d63872698b81eac7eb
refs/heads/master: 6399f335c2c5fb9c244bbb2b8a437498d260bed7
3 changes: 1 addition & 2 deletions trunk/drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,8 +728,7 @@ static int hid_scan_report(struct hid_device *hid)
} else if (page == HID_UP_SENSOR &&
item.type == HID_ITEM_TYPE_MAIN &&
item.tag == HID_MAIN_ITEM_TAG_BEGIN_COLLECTION &&
(item_udata(&item) & 0xff) == HID_COLLECTION_PHYSICAL &&
(hid->bus == BUS_USB || hid->bus == BUS_I2C))
(item_udata(&item) & 0xff) == HID_COLLECTION_PHYSICAL)
hid->group = HID_GROUP_SENSOR_HUB;
}

Expand Down

0 comments on commit a148beb

Please sign in to comment.