linux/drivers/platform/x86/dell
Surendra Singh Chouhan 39490ec606
platform/x86: dell-dw5826e: fix ACPI _DSM function index and bitmask usage
PALC_DSM_FN_TRIGGER_PLDR was defined as BIT(1) (value 2).

acpi_evaluate_dsm() expects a 0-based function index integer (0, 1,
2, ...), whereas acpi_check_dsm() expects a bitmask of supported
function indices (BIT(1), BIT(2), ...).

Because PALC_DSM_FN_TRIGGER_PLDR was defined as BIT(1),
acpi_evaluate_dsm() was evaluating Function Index 2 instead of Function
Index 1, while acpi_check_dsm() was checking for Function Index 1
support.

Fix this by setting PALC_DSM_FN_TRIGGER_PLDR to 1 (the function index)
and passing BIT(PALC_DSM_FN_TRIGGER_PLDR) to acpi_check_dsm().

Fixes: 1ab843135a ("platform/x86: dell-dw5826e: Add reset driver for DW5826e")
Signed-off-by: Surendra Singh Chouhan <kr494167@gmail.com>
Link: https://patch.msgid.link/20260724125533.74751-1-kr494167@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-07-24 19:21:39 +03:00
..
dell-wmi-sysman platform/x86: use u8 * for raw byte buffers 2026-04-28 16:16:11 +03:00
alienware-wmi-base.c platform/x86: alienware-wmi-base: Transition to new WMI API 2026-05-19 13:14:30 +03:00
alienware-wmi-legacy.c platform/x86: Split the alienware-wmi driver 2025-02-10 12:56:28 +02:00
alienware-wmi-wmax.c platform/x86: alienware-wmi-wmax: Add G-Mode support to m18 laptops 2026-02-23 18:02:15 +02:00
alienware-wmi.h platform/x86: Update alienware-wmi config entries 2025-02-10 12:56:31 +02:00
dcdbas.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
dcdbas.h platform/x86: dell: dcdbas: Constify 'struct bin_attribute' 2024-12-17 13:11:42 +02:00
dell_rbu.c platform/x86: dell_rbu: use strscpy in image_type_write 2026-04-28 16:16:29 +03:00
dell-dw5826e-reset.c platform/x86: dell-dw5826e: fix ACPI _DSM function index and bitmask usage 2026-07-24 19:21:39 +03:00
dell-laptop.c platform/x86: dell-laptop: fix missing cleanups in init error path 2026-06-10 14:29:19 +03:00
dell-lis3lv02d.c platform/x86: dell-lis3lv02d: Add Latitude 5400 2025-12-22 16:11:35 +02:00
dell-pc.c platform/x86/dell: Set USTT mode according to BIOS after reboot 2025-09-23 12:06:31 +03:00
dell-rbtn.c platform/x86: dell/dell-rbtn: Check ACPI_COMPANION() against NULL 2026-05-20 13:05:06 +03:00
dell-rbtn.h
dell-smbios-base.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
dell-smbios-smm.c platform/x86: dell-smbios-wmi: Stop touching WMI device ID 2025-08-12 15:00:32 +03:00
dell-smbios-wmi.c platform/x86: dell-smbios-wmi: Use new buffer-based WMI API 2026-06-12 16:01:46 +03:00
dell-smbios.h platform/x86: dell-smbios-wmi: Stop touching WMI device ID 2025-08-12 15:00:32 +03:00
dell-smo8800-ids.h platform/x86: dell-smo8800: Move SMO88xx acpi_device_ids to dell-smo8800-ids.h 2024-12-17 13:13:03 +02:00
dell-smo8800.c platform/x86: dell-smo8800: Move SMO88xx acpi_device_ids to dell-smo8800-ids.h 2024-12-17 13:13:03 +02:00
dell-uart-backlight.c platform/x86: dell-uart-backlight: Use blacklight power constant 2025-07-22 16:02:50 +03:00
dell-wmi-aio.c platform/x86: wmi: Pass event data directly to legacy notify handlers 2024-09-05 17:21:59 +02:00
dell-wmi-base.c platform/x86: dell-wmi-base: Use new buffer-based WMI API 2026-06-12 16:01:47 +03:00
dell-wmi-ddv.c platform/x86: dell-ddv: Use new buffer-based WMI API 2026-06-12 16:01:48 +03:00
dell-wmi-descriptor.c platform/x86: dell-descriptor: Use new buffer-based WMI API 2026-06-12 16:01:42 +03:00
dell-wmi-descriptor.h
dell-wmi-led.c
dell-wmi-privacy.c platform/x86: dell-privacy: Use new buffer-based WMI API 2026-06-12 16:01:44 +03:00
dell-wmi-privacy.h platform/x86: dell-privacy: correct CONFIG_DELL_WMI_PRIVACY macro name in comments 2026-06-11 14:54:45 +03:00
Kconfig platform/x86: dell-dw5826e: Add reset driver for DW5826e 2026-05-28 13:27:14 +03:00
Makefile platform/x86: dell-dw5826e: Add reset driver for DW5826e 2026-05-28 13:27:14 +03:00