We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff44b1c commit f6bfa25Copy full SHA for f6bfa25
drivers/platform/x86/acer-wmi.c
@@ -104,6 +104,7 @@ enum acer_wmi_event_ids {
104
WMID_HOTKEY_EVENT = 0x1,
105
WMID_ACCEL_OR_KBD_DOCK_EVENT = 0x5,
106
WMID_GAMING_TURBO_KEY_EVENT = 0x7,
107
+ WMID_AC_EVENT = 0x8,
108
};
109
110
enum acer_wmi_predator_v4_sys_info_command {
@@ -2414,6 +2415,9 @@ static void acer_wmi_notify(union acpi_object *obj, void *context)
2414
2415
if (return_value.key_num == 0x5 && has_cap(ACER_CAP_PLATFORM_PROFILE))
2416
acer_thermal_profile_change();
2417
break;
2418
+ case WMID_AC_EVENT:
2419
+ /* We ignore AC events here */
2420
+ break;
2421
default:
2422
pr_warn("Unknown function number - %d - %d\n",
2423
return_value.function, return_value.key_num);
0 commit comments