aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:52 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:52 +0000
commite1a1d05264437ee8b9b837f5875a9018edeba869 (patch)
treee7225dde297a7c3f0e6c2ccf5df80b97fc3446bc /arch
parenta3a8a9b44a81ef03b556856a7a20d4338195fed6 (diff)
From: Andrzej Zaborowski <balrogg@gmail.com>
fix-accel-irq-mismatch.patch 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
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index ad500f31d3b..aa350a1fe78 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -1066,7 +1066,7 @@ void gta02_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