OSDN Git Service

HID: logitech-hidpp: Don't restart communication if not necessary
authorBastien Nocera <hadess@hadess.net>
Wed, 25 Jan 2023 12:17:22 +0000 (13:17 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 10 Feb 2023 13:29:50 +0000 (14:29 +0100)
commit498ba20690357691103de0f766960355247c78be
tree0d4c6d7ca27782f1b96831c7f04ad9256317ce48
parent43551d9bea826cec4a40a98984ae2db6dac476b3
HID: logitech-hidpp: Don't restart communication if not necessary

Don't stop and restart communication with the device unless we need to
modify the connect flags used because of a device quirk.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20230125121723.3122-1-hadess@hadess.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-hidpp.c