Re: [PATCH] HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
From: Benjamin Tissoires
Date: Tue Aug 22 2023 - 14:30:50 EST
On Tue, 13 Jun 2023 03:16:35 -0700, Nikita Zhandarovich wrote:
> Presently, if a call to logi_dj_recv_send_report() fails, we do
> not learn about the error until after sending short
> HID_OUTPUT_REPORT with hid_hw_raw_request().
> To handle this somewhat unlikely issue, return on error in
> logi_dj_recv_send_report() (minding ugly sleep workaround) and
> take into account the result of hid_hw_raw_request().
>
> [...]
Applied to hid/hid.git (for-6.6/logitech), thanks!
[1/1] HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
https://git.kernel.org/hid/hid/c/6f20d3261265
Cheers,
--
Benjamin Tissoires <bentiss@xxxxxxxxxx>