diff options
author | Pavel Machek <[email protected]> | 2009-02-18 14:48:23 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-18 15:37:54 -0800 |
commit | ef2cfc790bf5f0ff189b01eabc0f4feb5e8524df (patch) | |
tree | 1e1a4999a6615f66f56ffe19c883e065aa8d3020 /net/lapb/lapb_timer.c | |
parent | 3a5093ee6728c8cbe9c039e685fc1fca8f965048 (diff) |
hp accelerometer: add freefall detection
This adds freefall handling to hp_accel driver. According to HP, it
should just work, without us having to set the chip up by hand.
hpfall.c is example .c program that parks the disk when accelerometer
detects free fall. It should work; for now, it uses fixed 20seconds
protection period.
Signed-off-by: Pavel Machek <[email protected]>
Cc: Thomas Renninger <[email protected]>
Cc: Éric Piel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions