summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2023-06-05 19:56:36 +0300
committerJiri Kosina <jkosina@suse.cz>2023-06-05 22:59:58 +0300
commit7c28afd5512e371773dbb2bf95a31ed5625651d9 (patch)
treeb4ef51402d67480f18556899f50516216e3051ed /drivers/hid/hid-ids.h
parent6199d23c91ce53bfed455f09a8c5ed170d516824 (diff)
downloadlinux-7c28afd5512e371773dbb2bf95a31ed5625651d9.tar.xz
HID: hidpp: terminate retry loop on success
It seems we forgot the normal case to terminate the retry loop, making us asking 3 times each command, which is probably a little bit too much. And remove the ugly "goto exit" that can be replaced by a simpler "break" Fixes: 586e8fede795 ("HID: logitech-hidpp: Retry commands when device is busy") Suggested-by: Mark Lord <mlord@pobox.com> Tested-by: Mark Lord <mlord@pobox.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
0 files changed, 0 insertions, 0 deletions