From 6cf6ac2d9cd3ae677c7e30e452832af6ebb3a4cf Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 3 Feb 2009 09:45:20 +0000 Subject: 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 --- include/linux/lis302dl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3