diff options
-rw-r--r-- | drivers/platform/x86/surfacepro3_button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/surfacepro3_button.c b/drivers/platform/x86/surfacepro3_button.c index b9c38f6a3845..700e0fa0eec2 100644 --- a/drivers/platform/x86/surfacepro3_button.c +++ b/drivers/platform/x86/surfacepro3_button.c | |||
@@ -111,7 +111,7 @@ static void surface_button_notify(struct acpi_device *device, u32 event) | |||
111 | break; | 111 | break; |
112 | } | 112 | } |
113 | input = button->input; | 113 | input = button->input; |
114 | if (KEY_RESERVED == key_code) | 114 | if (key_code == KEY_RESERVED) |
115 | return; | 115 | return; |
116 | if (pressed) | 116 | if (pressed) |
117 | pm_wakeup_event(&device->dev, 0); | 117 | pm_wakeup_event(&device->dev, 0); |