[PATCH 3/3] fix-lis302dl-dont-reset-hpf-each-time.patch
simon.kagstrom at gmail.com
Tue Feb 3 10:49:58 CET 2009
On Tue, 03 Feb 2009 09:42:54 +0000
Andy Green <andy at openmoko.com> wrote:
> 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.
The threshold stuff needs this reset to work, but I suppose we could
add a check if the threshold is actually set before resetting the HP
filter. I don't think it affects "interrupt-on-every-datum" mode anyway.
While I don't have the data sheet available right now, I believe the
LIS302DL_REG_FF_WU_SRC_1 is unrelated to the HP filter - I think it's
an interrupt ack.
More information about the openmoko-kernel