diff options
author | Rengarajan S <rengarajan.s@microchip.com> | 2025-03-13 20:08:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-15 17:22:19 +0300 |
commit | e9d7748a7468581859d2b85b378135f9688a0aff (patch) | |
tree | 0dca9c1f7605e6edcca754b567926aa8fbd326b8 /rust/helpers/build_assert.c | |
parent | 18eb77c75ed01439f96ae5c0f33461eb5134b907 (diff) | |
download | linux-e9d7748a7468581859d2b85b378135f9688a0aff.tar.xz |
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: 1f4d8ae231f4 ("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>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions