On Wed, 12 Jul 2023 17:02:34 +0200, bentiss@kernel.org wrote:
Extract the internal code inside a helper function, fix the initialization of the parameters used in the helper function (`hidpp->answer_available` was not reset and `*response` wasn't either), and use a `do {...} while();` loop.
Applied to hid/hid.git (for-6.6/logitech), thanks!
[1/1] HID: logitech-hidpp: rework one more time the retries attempts https://git.kernel.org/hid/hid/c/60165ab774cb
Cheers,