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

andrzej zaborowski balrogg at gmail.com
Sat Aug 23 02:28:18 CEST 2008

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,

@@ -989,7 +991,7 @@ void gat02_lis302dl_bitbang_read(struct lis302dl_info *lis)
        s8 x, y, z;

-       local_save_flags(flags);
+       local_irq_save(flags);

         * Huh.. "quirk"... CS on this device is not really "CS" like you can
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gta02-accel-isr-fix.patch
Type: text/x-patch
Size: 431 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080823/35688286/attachment.bin 

More information about the openmoko-kernel mailing list