Skip to content

Commit fa10d45

Browse files
superm1Jiri Kosina
authored andcommitted
HID: input: lower message severity of 'No inputs registered, leaving' to debug
Plugging in a "Blue snowball" microphone always shows the error 'No inputs registered, leaving', but the device functions as intended. When a HID device is started using the function hid_hw_start() and the argument HID_CONNECT_DEFAULT it will try all various hid connect requests. Not all devices will create an input device and so the message is needlessly noisy. Decrease it to debug instead. [[email protected]: edit shortlog] Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 54bae4c commit fa10d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/hid-input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,7 @@ int hidinput_connect(struct hid_device *hid, unsigned int force)
23432343
}
23442344

23452345
if (list_empty(&hid->inputs)) {
2346-
hid_err(hid, "No inputs registered, leaving\n");
2346+
hid_dbg(hid, "No inputs registered, leaving\n");
23472347
goto out_unwind;
23482348
}
23492349

0 commit comments

Comments
 (0)