Message ID | 20240307195753.2961-2-W_Armin@gmx.de |
---|---|
State | Superseded |
Headers | show |
Series | [v2,1/2] platform/x86: wmi: Support reading/writing 16 bit EC values | expand |
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c index e542aef825a3..ad82a96ed145 100644 --- a/drivers/platform/x86/wmi.c +++ b/drivers/platform/x86/wmi.c @@ -1216,8 +1216,10 @@ acpi_wmi_ec_space_handler(u32 function, acpi_physical_address address, return AE_NOT_FOUND; case -ETIME: return AE_TIME; - default: + case 0: return AE_OK; + default: + return AE_ERROR; } }