diff options
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 1b4d6f686bf0..66ba5f57d786 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -3305,7 +3305,6 @@ static bool hotkey_notify_usrevent(const u32 hkey, | |||
3305 | *ignore_acpi_ev = false; | 3305 | *ignore_acpi_ev = false; |
3306 | 3306 | ||
3307 | switch (hkey) { | 3307 | switch (hkey) { |
3308 | case 0x5010: /* Lenovo new BIOS: brightness changed */ | ||
3309 | case 0x500b: /* X61t: tablet pen inserted into bay */ | 3308 | case 0x500b: /* X61t: tablet pen inserted into bay */ |
3310 | case 0x500c: /* X61t: tablet pen removed from bay */ | 3309 | case 0x500c: /* X61t: tablet pen removed from bay */ |
3311 | return true; | 3310 | return true; |
@@ -3317,9 +3316,10 @@ static bool hotkey_notify_usrevent(const u32 hkey, | |||
3317 | *send_acpi_ev = false; | 3316 | *send_acpi_ev = false; |
3318 | return true; | 3317 | return true; |
3319 | 3318 | ||
3320 | case 0x5001: | 3319 | case 0x5001: /* Lid close */ |
3321 | case 0x5002: | 3320 | case 0x5002: /* Lid open */ |
3322 | /* LID switch events. Do not propagate */ | 3321 | case 0x5010: /* brightness control */ |
3322 | /* do not propagate these events */ | ||
3323 | *ignore_acpi_ev = true; | 3323 | *ignore_acpi_ev = true; |
3324 | return true; | 3324 | return true; |
3325 | 3325 | ||