Commit 30a6cf6c authored by Bastien Nocera's avatar Bastien Nocera Committed by sanglipeng
Browse files

HID: logitech-hidpp: Don't restart communication if not necessary

stable inclusion
from stable-v5.10.173
commit 7df5da8e6bcf27f09d74c55e3d6e3b8f7c973307
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7df5da8e6bcf27f09d74c55e3d6e3b8f7c973307



--------------------------------

[ Upstream commit 498ba206 ]

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: default avatarBastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20230125121723.3122-1-hadess@hadess.net


Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 690450ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment