diff options
author | Samu Onkalo <samu.p.onkalo@nokia.com> | 2009-12-15 03:01:41 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-15 17:53:36 +0100 |
commit | 641615abfac0b7c5e6f242a6db77f7690925b443 (patch) | |
tree | ab47ff8a53364cc912e177b98bf4c155aea35ab4 /drivers/hwmon/lis3lv02d.h | |
parent | lis3: fix show rate for 8 bits chips (diff) | |
download | linux-641615abfac0b7c5e6f242a6db77f7690925b443.tar.xz linux-641615abfac0b7c5e6f242a6db77f7690925b443.zip |
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 '')
-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 { u8 whoami; /* indicates measurement precision */ s16 (*read_data) (struct lis3lv02d *lis3, int reg); int mdps_max_val; + int pwron_delay; struct input_polled_dev *idev; /* input device */ struct platform_device *pdev; /* platform device */ |