Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272023
b: refs/heads/master
c: b93f828
h: refs/heads/master
i:
  272021: ddade4d
  272019: 4092bd1
  272015: a28e0aa
v: v3
  • Loading branch information
Anisse Astier authored and Matthew Garrett committed Oct 24, 2011
1 parent 3be37da commit 9227985
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16cbf93369a8d148316a75c333bb81bbb64a46c4
refs/heads/master: b93f82816c9ee4868c5aa1c8e06259233916d988
8 changes: 8 additions & 0 deletions trunk/drivers/platform/x86/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,14 @@ static void asus_acpi_notify(struct acpi_device *device, u32 event)
}
return ;
}

/* Accelerometer "coarse orientation change" event */
if (asus->pega_accel_poll && event == 0xEA) {
kobject_uevent(&asus->pega_accel_poll->input->dev.kobj,
KOBJ_CHANGE);
return ;
}

asus_input_notify(asus, event);
}

Expand Down

0 comments on commit 9227985

Please sign in to comment.