aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2009-02-03 09:45:20 +0000
committerAndy Green <agreen@octopus.localdomain>2009-02-03 09:45:20 +0000
commit6cf6ac2d9cd3ae677c7e30e452832af6ebb3a4cf (patch)
tree3717c9b3b747d39b7a47f3c3a4858a50f3ee9230 /include
parentfd8dc272391ad245fffb43cb97120ffe09f25396 (diff)
add-lis302dl-overrun-stats.patch
We can see and account for any overruns caused by IRQ latency now that we fetch the status register. This patch adds a /sys node so it can be queried, and accounting. Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/lis302dl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lis302dl.h b/include/linux/lis302dl.h
index 662ac60f607..01c4ac97a5b 100644
--- a/include/linux/lis302dl.h
+++ b/include/linux/lis302dl.h
@@ -31,6 +31,7 @@ struct lis302dl_info {
unsigned int flags;
unsigned int threshold;
unsigned int duration;
+ u32 overruns;
struct {
unsigned int threshold; /* mg */
unsigned int duration; /* ms */