From: Timo Teräs Date: Tue, 22 Aug 2006 14:39:31 +0000 (+0300) Subject: ARM: OMAP: Use 32kHz clock source in omap-pwm-led X-Git-Tag: v2.6.18-omap1~103 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=29219d7eec3f22e8441cbb9876e994412986c743;p=linux-2.6-omap-h63xx.git ARM: OMAP: Use 32kHz clock source in omap-pwm-led Change clock source in omap-pwm-led to 32 kHz to allow sleeping while LED is being blinked. Signed-off-by: Timo Teras Signed-off-by: Juha Yrjola --- diff --git a/drivers/leds/leds-omap-pwm.c b/drivers/leds/leds-omap-pwm.c index 32f8cf4702d..134a099c7ae 100644 --- a/drivers/leds/leds-omap-pwm.c +++ b/drivers/leds/leds-omap-pwm.c @@ -69,7 +69,7 @@ static void omap_pwm_led_power_on(struct omap_pwm_led *led) led->powered = 1; /* Select clock */ - omap_dm_timer_set_source(led->intensity_timer, OMAP_TIMER_SRC_SYS_CLK); + omap_dm_timer_set_source(led->intensity_timer, OMAP_TIMER_SRC_32_KHZ); /* Turn voltage on */ if (led->pdata->set_power != NULL)