[Armadeus-commitlog] armadeus branch, master, updated. release-3.2-83-g91167ba
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2010-01-05 14:38:27
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 91167baad88cca9bfac6dd53d3ada69a24dcdcdc (commit)
from d6434b70c90ca507ffeb0070646111788c05ee91 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 91167baad88cca9bfac6dd53d3ada69a24dcdcdc
Author: Fabien Marteau <fab...@ar...>
Date: Tue Jan 5 15:37:16 2010 +0100
[LINUX] Fix little behavior bug in mxc_gpio_set()
-----------------------------------------------------------------------
Summary of changes:
.../2.6.29/348-armadeus-plat-mxc-gpio.patch | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/348-armadeus-plat-mxc-gpio.patch
diff --git a/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/348-armadeus-plat-mxc-gpio.patch b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/348-armadeus-plat-mxc-gpio.patch
new file mode 100644
index 0000000..2480c91
--- /dev/null
+++ b/buildroot/target/device/armadeus/linux/kernel-patches/2.6.29/348-armadeus-plat-mxc-gpio.patch
@@ -0,0 +1,20 @@
+
+Fix mxc_gpio_set() to have the same behavior than others platform *_gpio_set()
+When value=0 set pin to 0, else set pin to 1
+
+Signed-off-by : Fabien Marteau <fab...@ar...>
+---
+
+Index: linux-2.6.29.6/arch/arm/plat-mxc/gpio.c
+===================================================================
+--- linux-2.6.29.6.orig/arch/arm/plat-mxc/gpio.c 2010-01-05 15:27:43.000000000 +0100
++++ linux-2.6.29.6/arch/arm/plat-mxc/gpio.c 2010-01-05 15:28:24.000000000 +0100
+@@ -226,7 +226,7 @@
+ void __iomem *reg = port->base + GPIO_DR;
+ u32 l;
+
+- l = (__raw_readl(reg) & (~(1 << offset))) | (value << offset);
++ l = (__raw_readl(reg) & (~(1 << offset))) | ((value?1:0) << offset);
+ __raw_writel(l, reg);
+ }
+
hooks/post-receive
--
armadeus
|