linux/drivers/misc/mchp_pci1xxxx
Rengarajan S e9d7748a74 misc: microchip: pci1xxxx: Fix incorrect IRQ status handling during ack
Under irq_ack, pci1xxxx_assign_bit reads the current interrupt status,
modifies and writes the entire value back. Since, the IRQ status bit
gets cleared on writing back, the better approach is to directly write
the bitmask to the register in order to preserve the value.

Fixes: 1f4d8ae231 ("misc: microchip: pci1xxxx: Add gpio irq handler and irq helper functions irq_ack, irq_mask, irq_unmask and irq_set_type of irq_chip.")
Cc: stable <stable@kernel.org>
Signed-off-by: Rengarajan S <rengarajan.s@microchip.com>
Link: https://lore.kernel.org/r/20250313170856.20868-3-rengarajan.s@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-15 16:22:19 +02:00
..
Kconfig misc: microchip: pci1xxxx: Add support to read and write into PCI1XXXX OTP via NVMEM sysfs 2023-08-04 15:36:43 +02:00
Makefile misc: microchip: pci1xxxx: Add support to read and write into PCI1XXXX OTP via NVMEM sysfs 2023-08-04 15:36:43 +02:00
mchp_pci1xxxx_gp.c misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe() 2024-06-04 18:08:39 +02:00
mchp_pci1xxxx_gp.h
mchp_pci1xxxx_gpio.c misc: microchip: pci1xxxx: Fix incorrect IRQ status handling during ack 2025-04-15 16:22:19 +02:00
mchp_pci1xxxx_otpe2p.c misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device 2024-10-13 18:17:57 +02:00