[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


-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmIHWYACgkQOjLpvpq7dMrYCQCfQ3S5szf7bQjZ3h53rysTlVO/
KEoAoI9lUpO6h2uyYNd+cHJ/iFpThp1J
=C1qB
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list