summaryrefslogtreecommitdiff
path: root/drivers/acpi/x86/s2idle.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-05-02 11:25:27 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2024-05-02 11:25:27 +0200
commitb0a835db17434473dfb84f7646de1cedc4ecdb94 (patch)
tree5ca9891b58895b99555ec7717129eb22cb3c0a19 /drivers/acpi/x86/s2idle.c
parente91a36b472862a1d199ea8d1b1ca192a347bf33e (diff)
parent4a56c0ed5aa0bcbe1f5f7d755fb1fe1ebf48ae9c (diff)
Merge drm/drm-next into drm-misc-next
Backmerging to get DRM fixes from v6.9-rc6. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'drivers/acpi/x86/s2idle.c')
-rw-r--r--drivers/acpi/x86/s2idle.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/acpi/x86/s2idle.c b/drivers/acpi/x86/s2idle.c
index cd84af23f7ea..dd0b40b9bbe8 100644
--- a/drivers/acpi/x86/s2idle.c
+++ b/drivers/acpi/x86/s2idle.c
@@ -492,16 +492,14 @@ static int lps0_device_attach(struct acpi_device *adev,
unsigned int func_mask;
/*
- * Avoid evaluating the same _DSM function for two
- * different UUIDs and prioritize the MSFT one.
+ * Log a message if the _DSM function sets for two
+ * different UUIDs overlap.
*/
func_mask = lps0_dsm_func_mask & lps0_dsm_func_mask_microsoft;
- if (func_mask) {
+ if (func_mask)
acpi_handle_info(adev->handle,
"Duplicate LPS0 _DSM functions (mask: 0x%x)\n",
func_mask);
- lps0_dsm_func_mask &= ~func_mask;
- }
}
}