Patch "gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     gpiolib-acpi-ignore-touchpad-wakeup-on-gpd-g1619-04.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 805c74eac8cb306dc69b87b6b066ab4da77ceaf1 Mon Sep 17 00:00:00 2001
From: Mario Limonciello <mario.limonciello@xxxxxxx>
Date: Wed, 17 Jan 2024 08:29:42 -0600
Subject: gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04

From: Mario Limonciello <mario.limonciello@xxxxxxx>

commit 805c74eac8cb306dc69b87b6b066ab4da77ceaf1 upstream.

Spurious wakeups are reported on the GPD G1619-04 which
can be absolved by programming the GPIO to ignore wakeups.

Cc: stable@xxxxxxxxxxxxxxx
Reported-and-tested-by: George Melikov <mail@xxxxxxxxxxx>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3073
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/gpio/gpiolib-acpi.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- a/drivers/gpio/gpiolib-acpi.c
+++ b/drivers/gpio/gpiolib-acpi.c
@@ -1675,6 +1675,20 @@ static const struct dmi_system_id gpioli
 			.ignore_interrupt = "INT33FC:00@3",
 		},
 	},
+	{
+		/*
+		 * Spurious wakeups from TP_ATTN# pin
+		 * Found in BIOS 0.35
+		 * https://gitlab.freedesktop.org/drm/amd/-/issues/3073
+		 */
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "GPD"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "G1619-04"),
+		},
+		.driver_data = &(struct acpi_gpiolib_dmi_quirk) {
+			.ignore_wake = "PNP0C50:00@8",
+		},
+	},
 	{} /* Terminating entry */
 };
 


Patches currently in stable-queue which might be from mario.limonciello@xxxxxxx are

queue-6.6/rtc-extend-timeout-for-waiting-for-uip-to-clear-to-1s.patch
queue-6.6/revert-drm-amd-enable-pcie-pme-from-d3.patch
queue-6.6/gpiolib-acpi-ignore-touchpad-wakeup-on-gpd-g1619-04.patch
queue-6.6/rtc-mc146818-lib-adjust-failure-return-code-for-mc146818_get_time.patch
queue-6.6/rtc-add-support-for-configuring-the-uip-timeout-for-rtc-reads.patch
queue-6.6/rtc-cmos-use-acpi-alarm-for-non-intel-x86-systems-too.patch
queue-6.6/rtc-adjust-failure-return-code-for-cmos_set_alarm.patch




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux