diff options
author | Andy Green <andy@openmoko.com> | 2009-02-03 09:45:23 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-02-03 09:45:23 +0000 |
commit | 5962b071d390bf448b045d3d4de119901457f383 (patch) | |
tree | ef5b23e3d5ae096932107614ec413a28f2393e20 /drivers/input | |
parent | 6cf6ac2d9cd3ae677c7e30e452832af6ebb3a4cf (diff) |
fix-lis302dl-dont-reset-hpf-each-time.patch
We shouldn't be resetting the highpass filter every sample.
It should be disabled if we don't use it or allowed to
work across multiple samples if we do.
Was this hiding some other problem?
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/lis302dl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/misc/lis302dl.c b/drivers/input/misc/lis302dl.c index 2e3d92decab..bc73e972bff 100644 --- a/drivers/input/misc/lis302dl.c +++ b/drivers/input/misc/lis302dl.c @@ -249,10 +249,6 @@ static void lis302dl_bitbang_read_sample(struct lis302dl_info *lis) input_sync(lis->input_dev); } - - /* Reset the HP filter */ - __reg_read(lis, LIS302DL_REG_HP_FILTER_RESET); - __reg_read(lis, LIS302DL_REG_FF_WU_SRC_1); } static irqreturn_t lis302dl_interrupt(int irq, void *_lis) |