summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
committerMirko Vogt <mirko@openwrt.org>2008-12-12 11:58:53 +0000
commit614683faf8029100802db06a825648d0b6490285 (patch)
tree7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadmtk-20170518-614683faf8029100802db06a825648d0b6490285.zip
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.gz
mtk-20170518-614683faf8029100802db06a825648d0b6490285.tar.bz2
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch
new file mode 100644
index 0000000..6c6fb03
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1086-clean-snip-gpio-reinit.patch.patch
@@ -0,0 +1,31 @@
+From 41b2c45d068da0467272ca843e05a13f0e262be6 Mon Sep 17 00:00:00 2001
+From: warmcat <andy@openmoko.com>
+Date: Sun, 13 Apr 2008 07:25:47 +0100
+Subject: [PATCH] clean-snip-gpio-reinit.patch
+ These are initialized already
+
+Signed-off-by: Andy Green <andy@openmoko.com>
+---
+ arch/arm/mach-s3c2440/mach-gta02.c | 6 ------
+ 1 files changed, 0 insertions(+), 6 deletions(-)
+
+diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
+index e32294b..f2b1b66 100644
+--- a/arch/arm/mach-s3c2440/mach-gta02.c
++++ b/arch/arm/mach-s3c2440/mach-gta02.c
+@@ -1303,12 +1303,6 @@ static void __init gta02_machine_init(void)
+ s3c2410_gpio_setpin(GTA01_GPIO_LCD_RESET, 1);
+ s3c2410_gpio_cfgpin(GTA01_GPIO_LCD_RESET, S3C2410_GPIO_OUTPUT);
+
+- s3c2410_gpio_setpin(S3C2410_GPD12, 1);
+- s3c2410_gpio_cfgpin(S3C2410_GPD12, S3C2410_GPIO_OUTPUT);
+-
+- s3c2410_gpio_setpin(S3C2410_GPD13, 1);
+- s3c2410_gpio_cfgpin(S3C2410_GPD13, S3C2410_GPIO_OUTPUT);
+-
+ /* Make sure the modem can wake us up */
+ set_irq_type(GTA02_IRQ_MODEM, IRQT_RISING);
+ rc = request_irq(GTA02_IRQ_MODEM, gta02_modem_irq, IRQF_DISABLED,
+--
+1.5.6.5
+