From 29219d7eec3f22e8441cbb9876e994412986c743 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timo=20Ter=E4s?= Date: Tue, 22 Aug 2006 17:39:31 +0300 Subject: [PATCH] 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 --- drivers/leds/leds-omap-pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.41.1