]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: acpi: Add a quirk for Asus UM325UAZ
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 3 Aug 2022 04:25:00 +0000 (23:25 -0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 5 Sep 2022 10:15:56 +0000 (13:15 +0300)
commit16a1f5bc051f065c94ea4c9eeb829cab4c9f4177
tree221567bded0bfa4dcdb692be2b6bd35747ab2363
parent35c506c4144aaf8e7d802ac6b7924d5ee1cc80b2
gpiolib: acpi: Add a quirk for Asus UM325UAZ

Asus UM325UAZ has GPIO 18 programmed as both an interrupt and a wake
source, but confirmed with internal team on this design this pin is
floating and shouldn't have been programmed. This causes lots of
spurious IRQs on the system and horrendous battery life.

Add a quirk to ignore attempts to program this pin on this system.

Reported-by: Pavel Krc <reg.krn@pkrc.net>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216208
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib-acpi.c