diff options
author | Daniel Mack <[email protected]> | 2009-06-16 15:34:17 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-06-16 19:47:57 -0700 |
commit | 8f3128e714ded7cf1e8c786c204a4f253b5d8ff4 (patch) | |
tree | cb3c1e9df2da5e4817acfeb75284e8d7b92eae33 /net/unix/af_unix.c | |
parent | 0093716e6dd18dad554bef81cc788a4c50d32a09 (diff) |
lis3: add click function
The LIS302DL accelerometer chip has a 'click' feature which can be used to
detect sudden motion on any of the three axis. Configuration data is
passed via spi platform_data and no action is taken if that's not
specified, so it won't harm any existing platform.
To make the configuration effective, the IRQ lines need to be set up
appropriately. This patch also adds a way to do that from board support
code.
The DD_* definitions were factored out to an own enum because they are
specific to LIS3LV02D devices.
Signed-off-by: Daniel Mack <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Acked-by: Eric Piel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions