summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches/0114--leds-We-would-enable-PWM-for-all-four-timers-disa.patch
blob: 3636e88e0a69243e9398548dc3ace6f12d3953d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 18651314c0fea31faa6f43f184d3237f5b855a95 Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@openmoko.org>
Date: Fri, 25 Jul 2008 23:06:05 +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.3