[lvc-project] [PATCH] HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()

Benjamin Tissoires bentiss at kernel.org
Tue Aug 22 21:30:45 MSK 2023


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 at kernel.org>




More information about the lvc-project mailing list