[PATCH] Hopefully fix bug #1613 aka no acceleromeers data
Sean McNeil
sean at mcneil.com
Sat Aug 23 05:40:27 CEST 2008
This helps for me, but doesn't solve the problem completely.
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
>
More information about the openmoko-kernel
mailing list