[ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau...
[openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 1114--leds-We-would-enable-PWM-for-all-four-timers-disa.patch
1 From 18651314c0fea31faa6f43f184d3237f5b855a95 Mon Sep 17 00:00:00 2001
2 From: Holger Freyther <zecke@openmoko.org>
3 Date: Fri, 25 Jul 2008 23:06:05 +0100
4 Subject: [PATCH] [leds] We would enable PWM for all four timers, disable it for all four as well
5
6 Currently we do not use the PWM code to drive the LEDS. We have enabled the PWM
7 for four timer sources but disable it only for three, fix that up.
8
9 Signed-Off-By: Holger Freyther <zecke@openmoko.org>
10 ---
11 drivers/leds/leds-neo1973-gta02.c | 1 +
12 1 files changed, 1 insertions(+), 0 deletions(-)
13
14 diff --git a/drivers/leds/leds-neo1973-gta02.c b/drivers/leds/leds-neo1973-gta02.c
15 index 8678670..fbb62c4 100644
16 --- a/drivers/leds/leds-neo1973-gta02.c
17 +++ b/drivers/leds/leds-neo1973-gta02.c
18 @@ -161,6 +161,7 @@ static int __init gta02led_probe(struct platform_device *pdev)
19 case S3C2410_GPB0:
20 case S3C2410_GPB1:
21 case S3C2410_GPB2:
22 + case S3C2410_GPB3:
23 lp->has_pwm = 0;
24 s3c2410_gpio_cfgpin(lp->gpio, S3C2410_GPIO_OUTPUT);
25 s3c2410_gpio_setpin(lp->gpio, 0);
26 --
27 1.5.6.3
28
This page took 0.046064 seconds and 5 git commands to generate.