[PATCH 3/3] fix-lis302dl-dont-reset-hpf-each-time.patch

Andy Green andy at openmoko.com
Tue Feb 3 11:33:10 CET 2009

Hash: SHA1

Somebody in the thread at some point said:

| I don't quite remember, but I think it was that the threshold is
| checked relative to the last time the filter was reset, so if you don't
| reset it you won't get any more data.  Unfortunately the data sheet is not
| overly clear about how the HP filter is actually supposed to work.
| It caused a bit of headache when developing since the HP filter is
| reset when reading. Thus, the device would generate data once again
| when the debug sysfs node is read.

I wonder if something else is broken behind that to do with the reports
about inverted threshold sense we can't reproduce.

|> You're right the comment about reset HPF made it look like they're
|> related.  But that one too is only needed if there's a threshold
|> wakeup.
| Sorry about that. It might not even be needed then, since there is some
| "auto-ack" option that can be set.

Right, I see it... we never do anything at all with that register so
I'll kill the latched option for it and remove the read of it again.

Thanks for these timely tips.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list