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
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index 983dc8d..8721190 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -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