[PATCH] Hopefully fix bug #1613 aka no acceleromeers data

Andy Green andy at openmoko.com
Sat Aug 23 11:09:44 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| This helps for me, but doesn't solve the problem completely.

It's because the insane mismatch occurs in several places... good find
Andrzej!!!!

- -Andy

| andrzej zaborowski wrote:
|> I just found a while to start doing something cool with the
|> accelerometers but I hit #1613 (both accelerometer nodes can't be read
|> concurrently for longer than a moment). Turns out to be very silly.
|> I'll continue the cool stuff another day,
|> Cheers
|>
|> @@ -989,7 +991,7 @@ void gat02_lis302dl_bitbang_read(struct
lis302dl_info *lis)
|>         s8 x, y, z;
|>  #endif
|>
|> -       local_save_flags(flags);
|> +       local_irq_save(flags);
|>
|>         /*
|>          * Huh.. "quirk"... CS on this device is not really "CS" like
you can
|>
|
|

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

iEYEARECAAYFAkiv09gACgkQOjLpvpq7dMr+NQCeP/M+uSpNLPwlEEHE1xzcTkcw
WjEAn2FCfFWkkRJQma7aBhUlZsdq18ys
=agvL
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list