Re: [PATCH] HID: logitech-hidpp: Stop IO before calling hid_connect()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Oct 2023 21:01:51 +0200, Hans de Goede wrote:
> hid_connect() will call hid_pidff_init() which does
> hid_device_io_start() leading to an "io already started" warning.
> 
> To fix this call hid_device_io_stop() before calling hid_connect(),
> stopping IO means that connect events may be lost while hid_connect()
> runs, re-enable IO and move the hidpp_connect_event() work queuing
> after the hid_connect().
> 
> [...]

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-6.7/logitech), thanks!

[1/1] HID: logitech-hidpp: Stop IO before calling hid_connect()
      https://git.kernel.org/hid/hid/c/3e6b0bb22a80

Cheers,
-- 
Benjamin Tissoires <bentiss@xxxxxxxxxx>




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux