1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 07:28:28 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.24/1282-From-Andrzej-Zaborowski-balrogg-gmail.com.patch
mirko fc54b9bf15 changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-12 11:58:53 +00:00

33 lines
1.0 KiB
Diff

From 4a728e4772d53767fcbccd0b2b7e7278c961ce34 Mon Sep 17 00:00:00 2001
From: Andy Green <agreen@pads.home.warmcat.com>
Date: Sat, 23 Aug 2008 11:01:25 +0100
Subject: [PATCH] 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
---
arch/arm/mach-s3c2440/mach-gta02.c | 2 +-
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 7d4cc67..eadf88a 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -1065,7 +1065,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
--
1.5.6.5