lkml.org 
[lkml]   [2023]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
Date
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@kernel.org>

\
 
 \ /
  Last update: 2023-08-22 20:31    [W:0.039 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site