]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: lynxpoint: Use dedicated helpers for chained IRQ handlers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jan 2025 14:49:40 +0000 (16:49 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Feb 2025 09:59:14 +0000 (11:59 +0200)
commit5feac4d72d9f0aa80ff76690d56522e6106b3c7b
tree01b3ff72fe3167100e294bcaca8479a9f0e5554d
parent8e54033b4250cecadd653817e7d3497e98af9a09
pinctrl: lynxpoint: Use dedicated helpers for chained IRQ handlers

Instead of relying on the fact that the parent IRQ chip supports
fasteoi mode and calling the respective callback at the end of
the interrupt handler, surround it with enter and exit helpers
for chained IRQ handlers which will consider all possible cases.

This in particular unifies how GPIO drivers handle IRQ.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-lynxpoint.c