Re: [PATCH v2] hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip

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

 



On Wed, 11 Oct 2023 13:23:17 -0500, Danny Kaehn wrote:
> Previously cp2112_gpio_irq_shutdown() always cancelled the
> gpio_poll_worker, even if other IRQs were still active, and did not set
> the gpio_poll flag to false. This resulted in any call to _shutdown()
> resulting in interrupts no longer functioning on the chip until a
> _remove() occurred (a.e. the cp2112 is unplugged or system rebooted).
> 
> Only cancel polling if all IRQs are disabled/masked, and correctly set
> the gpio_poll flag, allowing polling to restart when an interrupt is
> next enabled.
> 
> [...]

Applied to hid/hid.git (for-6.7/cp2112), thanks!

[1/1] hid: cp2112: Fix IRQ shutdown stopping polling for all IRQs on chip
      https://git.kernel.org/hid/hid/c/dc3115e6c5d9

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