Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117835
b: refs/heads/master
c: df316e9
h: refs/heads/master
i:
  117833: eea9ef3
  117831: ff3eb15
v: v3
  • Loading branch information
Guillem Jover authored and Len Brown committed Oct 25, 2008
1 parent 110d2bc commit 9168b1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16be87ea170ae6cfaa9f47f79d14f7577d8cb420
refs/heads/master: df316e939100e789b3c5d4d102619ccf5834bd00
3 changes: 2 additions & 1 deletion trunk/drivers/acpi/button.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ static int acpi_lid_send_state(struct acpi_button *button)
return -ENODEV;
/* input layer checks if event is redundant */
input_report_switch(button->input, SW_LID, !state);
input_sync(button->input);
return 0;
}

Expand All @@ -285,8 +286,8 @@ static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
input_report_key(input, keycode, 1);
input_sync(input);
input_report_key(input, keycode, 0);
input_sync(input);
}
input_sync(input);

acpi_bus_generate_proc_event(button->device, event,
++button->pushed);
Expand Down

0 comments on commit 9168b1d

Please sign in to comment.