diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2009-12-14 21:01:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 11:53:36 -0500 |
commit | 641615abfac0b7c5e6f242a6db77f7690925b443 (patch) | |
tree | ab47ff8a53364cc912e177b98bf4c155aea35ab4 /drivers/hwmon/lis3lv02d.h | |
parent | 4b5d95b3809bcd77599122494aa3f575cd6ab1b9 (diff) |
lis3lv02d: proper power on sequence
Lis3 accelerometer sensors have quite long power on delay (up to 125
ms). This patch adds necessary delay to power on sequence for currently
supported lis3 chips.
Signed-off-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Tested-by: Éric Piel <eric.piel@tremplin-utc.net>
Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/lis3lv02d.h')
-rw-r--r-- | drivers/hwmon/lis3lv02d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/lis3lv02d.h b/drivers/hwmon/lis3lv02d.h index c6ae507e4f1e..c57f21f45676 100644 --- a/drivers/hwmon/lis3lv02d.h +++ b/drivers/hwmon/lis3lv02d.h | |||
@@ -202,6 +202,7 @@ struct lis3lv02d { | |||
202 | u8 whoami; /* indicates measurement precision */ | 202 | u8 whoami; /* indicates measurement precision */ |
203 | s16 (*read_data) (struct lis3lv02d *lis3, int reg); | 203 | s16 (*read_data) (struct lis3lv02d *lis3, int reg); |
204 | int mdps_max_val; | 204 | int mdps_max_val; |
205 | int pwron_delay; | ||
205 | 206 | ||
206 | struct input_polled_dev *idev; /* input device */ | 207 | struct input_polled_dev *idev; /* input device */ |
207 | struct platform_device *pdev; /* platform device */ | 208 | struct platform_device *pdev; /* platform device */ |