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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:39:54 +0000 (09:39 +0100)
commitfbc357c9ad67fd3f026b546960e72764af392393
treea92d6c31c75c364afe35b2baa06635832d5242f7
parent5a46d8bdaf03e8a4bb83f0c363326d9aa66cc122
HID: logitech-hidpp: Don't restart communication if not necessary

[ Upstream commit 498ba20690357691103de0f766960355247c78be ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hid/hid-logitech-hidpp.c