diff options
Diffstat (limited to 'drivers/acpi/button.c')
-rw-r--r-- | drivers/acpi/button.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index bf8e4d371fa7..aac81f40e28e 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c | |||
@@ -210,6 +210,8 @@ static int acpi_lid_notify_state(struct acpi_device *device, int state) | |||
210 | } | 210 | } |
211 | /* Send the platform triggered reliable event */ | 211 | /* Send the platform triggered reliable event */ |
212 | if (do_update) { | 212 | if (do_update) { |
213 | acpi_handle_debug(device->handle, "ACPI LID %s\n", | ||
214 | state ? "open" : "closed"); | ||
213 | input_report_switch(button->input, SW_LID, !state); | 215 | input_report_switch(button->input, SW_LID, !state); |
214 | input_sync(button->input); | 216 | input_sync(button->input); |
215 | button->last_state = !!state; | 217 | button->last_state = !!state; |