aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorBenjamin Tissoires2023-08-31 10:45:16 +0200
committerBenjamin Tissoires2023-08-31 10:45:16 +0200
commit141a1289f405387cb4cde20b9f5a7d4dda62a1e3 (patch)
tree9984c7d3f9ea831fddfe472c24be4f57e3c1d9fe /drivers/hid
parentb9491166c361584f7cfed28393d4e419a4e7d031 (diff)
parent666cf30a589a00d89c3775e27a698a2370cbe3db (diff)
Merge branch 'for-6.6/sensor-hub' into for-linus
Allow multi-function sensor devices in sensor-hub by Daniel Thompson
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-sensor-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c
index 83237b86c8ff..2eba152e8b90 100644
--- a/drivers/hid/hid-sensor-hub.c
+++ b/drivers/hid/hid-sensor-hub.c
@@ -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;