ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 15 Sep 2022 18:23:14 +0000 (13:23 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 24 Sep 2022 16:10:19 +0000 (18:10 +0200)
commit018d6711c26e4bd26e20a819fcc7f8ab902608f3
treeb4dc80a7d4a5f47059593193a2de646f73b8599c
parent521a547ced6477c54b4b0cc206000406c221b4d6
ACPI: x86: Add a quirk for Dell Inspiron 14 2-in-1 for StorageD3Enable

Dell Inspiron 14 2-in-1 has two ACPI nodes under GPP1 both with _ADR of
0, both without _HID.  It's ambiguous which the kernel should take, but
it seems to take "DEV0".  Unfortunately "DEV0" is missing the device
property `StorageD3Enable` which is present on "NVME".

To avoid this causing problems for suspend, add a quirk for this system
to behave like `StorageD3Enable` property was found.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216440
Reported-and-tested-by: Luya Tshimbalanga <luya@fedoraproject.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/utils.c