mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
Input: add generic suspend and resume for input devices
Automatically turn off leds and sound effects as part of suspend process and restore led state, sounds and repeat rate at resume. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
181d683d75
commit
ffd0db9719
2 changed files with 64 additions and 2 deletions
|
@ -1123,7 +1123,7 @@ struct input_dev {
|
|||
struct mutex mutex;
|
||||
|
||||
unsigned int users;
|
||||
int going_away;
|
||||
bool going_away;
|
||||
|
||||
struct device dev;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue