Merge branch 'for-6.6/sensor-hub' into for-linus

Allow multi-function sensor devices in sensor-hub by Daniel Thompson
This commit is contained in:
Benjamin Tissoires 2023-08-31 10:45:16 +02:00
commit 141a1289f4

View File

@ -632,7 +632,7 @@ static int sensor_hub_probe(struct hid_device *hdev,
}
INIT_LIST_HEAD(&hdev->inputs);
ret = hid_hw_start(hdev, 0);
ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT);
if (ret) {
hid_err(hdev, "hw start failed\n");
return ret;