]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpiolib: acpi: Add support to ignore programming an interrupt
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 3 Aug 2022 04:24:59 +0000 (23:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Oct 2022 07:39:04 +0000 (09:39 +0200)
commit359e1b7a7f79738e00a59f367dbe0d3a819d1754
tree69239e6078ad0085f8797360b7f5782033f2975b
parent94e14d5193c5692faa589b733e9a360154d4696b
gpiolib: acpi: Add support to ignore programming an interrupt

commit 6b6af7bd5718f4e45a9b930533aec1158387d552 upstream.

gpiolib-acpi already had support for ignoring a pin for wakeup, but
if an OEM configures a floating pin as an interrupt source then
stopping it from being a wakeup won't do much good to stop the
interrupt storm.

Add support for a module parameter and quirk infrastructure to
ignore interrupts as well.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpiolib-acpi.c