mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
HID: logitech-hidpp: do not query the name through HID++ for 1.0 devices
Unless they are connected through unifying, they don't support it, so remove one error in the logs. Signed-off-by: Benjamin Tissoires <[email protected]> Tested-by: Bastien Nocera <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
680de741e8
commit
b4f8ce07b5
1 changed files with 2 additions and 0 deletions
|
|
@ -2309,6 +2309,8 @@ static void hidpp_overwrite_name(struct hid_device *hdev, bool use_unifying)
|
|||
* Ask the receiver for its name.
|
||||
*/
|
||||
name = hidpp_get_unifying_name(hidpp);
|
||||
else if (hidpp->protocol_major < 2)
|
||||
return;
|
||||
else
|
||||
name = hidpp_get_device_name(hidpp);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue