diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/hp-wmi.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 1a779bbfb87d..8df0c5a21be2 100644 --- a/drivers/platform/x86/hp-wmi.c +++ b/drivers/platform/x86/hp-wmi.c | |||
@@ -71,6 +71,14 @@ enum hp_wmi_event_ids { | |||
71 | HPWMI_WIRELESS = 5, | 71 | HPWMI_WIRELESS = 5, |
72 | HPWMI_CPU_BATTERY_THROTTLE = 6, | 72 | HPWMI_CPU_BATTERY_THROTTLE = 6, |
73 | HPWMI_LOCK_SWITCH = 7, | 73 | HPWMI_LOCK_SWITCH = 7, |
74 | HPWMI_LID_SWITCH = 8, | ||
75 | HPWMI_SCREEN_ROTATION = 9, | ||
76 | HPWMI_COOLSENSE_SYSTEM_MOBILE = 0x0A, | ||
77 | HPWMI_COOLSENSE_SYSTEM_HOT = 0x0B, | ||
78 | HPWMI_PROXIMITY_SENSOR = 0x0C, | ||
79 | HPWMI_BACKLIT_KB_BRIGHTNESS = 0x0D, | ||
80 | HPWMI_PEAKSHIFT_PERIOD = 0x0F, | ||
81 | HPWMI_BATTERY_CHARGE_PERIOD = 0x10, | ||
74 | }; | 82 | }; |
75 | 83 | ||
76 | struct bios_args { | 84 | struct bios_args { |
@@ -536,6 +544,22 @@ static void hp_wmi_notify(u32 value, void *context) | |||
536 | break; | 544 | break; |
537 | case HPWMI_LOCK_SWITCH: | 545 | case HPWMI_LOCK_SWITCH: |
538 | break; | 546 | break; |
547 | case HPWMI_LID_SWITCH: | ||
548 | break; | ||
549 | case HPWMI_SCREEN_ROTATION: | ||
550 | break; | ||
551 | case HPWMI_COOLSENSE_SYSTEM_MOBILE: | ||
552 | break; | ||
553 | case HPWMI_COOLSENSE_SYSTEM_HOT: | ||
554 | break; | ||
555 | case HPWMI_PROXIMITY_SENSOR: | ||
556 | break; | ||
557 | case HPWMI_BACKLIT_KB_BRIGHTNESS: | ||
558 | break; | ||
559 | case HPWMI_PEAKSHIFT_PERIOD: | ||
560 | break; | ||
561 | case HPWMI_BATTERY_CHARGE_PERIOD: | ||
562 | break; | ||
539 | default: | 563 | default: |
540 | pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data); | 564 | pr_info("Unknown event_id - %d - 0x%x\n", event_id, event_data); |
541 | break; | 565 | break; |