X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-core.c;h=b76eb9eb6ff177e3216051674ee3fbe8cf863fce;hb=83a44ac8bf4a8e6cbbf0c00ff281a482778f708a;hp=512b01c04ea7610bcb6466208255a9d83a36cb1d;hpb=bc2e4a90d9f75f1664c1587eb09ecd10bb71b022;p=karo-tx-linux.git diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 512b01c04ea7..b76eb9eb6ff1 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -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; }