]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/kernel/time.c
[ARM] 3926/1: make timer led handle HZ != 100
[karo-tx-linux.git] / arch / arm / kernel / time.c
index 0c5a6091a93cbc7038eaad22c768a414ed9d4424..6ff5e3ff6cb57a781a672b631596f924c75f3ee4 100644 (file)
@@ -220,10 +220,10 @@ EXPORT_SYMBOL(leds_event);
 #ifdef CONFIG_LEDS_TIMER
 static inline void do_leds(void)
 {
-       static unsigned int count = 50;
+       static unsigned int count = HZ/2;
 
        if (--count == 0) {
-               count = 50;
+               count = HZ/2;
                leds_event(led_timer);
        }
 }