changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of...
[openwrt/staging/florian.git] / target / linux / s3c24xx / patches-2.6.24 / 1282-From-Andrzej-Zaborowski-balrogg-gmail.com.patch
1 From 4a728e4772d53767fcbccd0b2b7e7278c961ce34 Mon Sep 17 00:00:00 2001
2 From: Andy Green <agreen@pads.home.warmcat.com>
3 Date: Sat, 23 Aug 2008 11:01:25 +0100
4 Subject: [PATCH] From: Andrzej Zaborowski <balrogg@gmail.com>
5
6 fix-accel-irq-mismatch.patch
7
8 I just found a while to start doing something cool with the
9 accelerometers but I hit #1613 (both accelerometer nodes can't be read
10 concurrently for longer than a moment). Turns out to be very silly.
11 I'll continue the cool stuff another day,
12 Cheers
13 ---
14 arch/arm/mach-s3c2440/mach-gta02.c | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17 diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
18 index 7d4cc67..eadf88a 100644
19 --- a/arch/arm/mach-s3c2440/mach-gta02.c
20 +++ b/arch/arm/mach-s3c2440/mach-gta02.c
21 @@ -1065,7 +1065,7 @@ void gta02_lis302dl_bitbang_read(struct lis302dl_info *lis)
22 s8 x, y, z;
23 #endif
24
25 - local_save_flags(flags);
26 + local_irq_save(flags);
27
28 /*
29 * Huh.. "quirk"... CS on this device is not really "CS" like you can
30 --
31 1.5.6.5
32