summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.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/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch
parent4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff)
downloadmaster-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.gz
master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.bz2
master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.zip
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/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch b/target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch
new file mode 100644
index 0000000000..b79df55205
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.24/1127--leds-We-would-enable-PWM-for-all-four-timers-disa.patch
@@ -0,0 +1,28 @@
+From 5c701da7eb3f9fdd3d9cb410c6e1699f862277ea Mon Sep 17 00:00:00 2001
+From: Holger Freyther <zecke@openmoko.org>
+Date: Sun, 13 Apr 2008 07:25:57 +0100
+Subject: [PATCH] [leds] We would enable PWM for all four timers, disable it for all four as well
+
+Currently we do not use the PWM code to drive the LEDS. We have enabled the PWM
+for four timer sources but disable it only for three, fix that up.
+
+Signed-Off-By: Holger Freyther <zecke@openmoko.org>
+---
+ drivers/leds/leds-neo1973-gta02.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/leds/leds-neo1973-gta02.c b/drivers/leds/leds-neo1973-gta02.c
+index 8678670..fbb62c4 100644
+--- a/drivers/leds/leds-neo1973-gta02.c
++++ b/drivers/leds/leds-neo1973-gta02.c
+@@ -161,6 +161,7 @@ static int __init gta02led_probe(struct platform_device *pdev)
+ case S3C2410_GPB0:
+ case S3C2410_GPB1:
+ case S3C2410_GPB2:
++ case S3C2410_GPB3:
+ lp->has_pwm = 0;
+ s3c2410_gpio_cfgpin(lp->gpio, S3C2410_GPIO_OUTPUT);
+ s3c2410_gpio_setpin(lp->gpio, 0);
+--
+1.5.6.5
+