andy at openmoko.com
Wed Aug 27 00:40:57 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| This large patch removes motion sensor from Linux SPI bitbang driver.
| Previously, some access was done through Linux SPI protected
| by a mutex, and the ISR access was done by platform bitbang code due
| to inability of Linux SPI driver to work in the interrupt context.
| Now all access is done by bitbang callbacks in mach_gta02.c and are
| protected by single scheme of interrupt lockout for the duration --
| I line-by-line'd the driver to confirm that best I could, adding
| protection and taking more care on several /sys related paths.
| Because this is no longer a Linux SPI bus driver, the path for various
| /sys things have changed. They can now be found down, eg,
| lis302dl.1 is the top sensor and .2 the bottom. The names of the input
| susbsytem paths remain the same as before.
I tested this for some minutes in two ssh sessions hexdumping the same
and both channels, it seems OK. But because of the change in /sys path,
~ it feels better to get some confirmation it improves the situation
before putting people though that change on stable, so I stuck it on
andy branch right now and would appreciate some testing... it should
apply pretty well to 2.6.26 too.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel