redrix: Disable power LED during S0ix
BRANCH=none
TEST=On Redrix. Verify LED will not blink on S0ix.
@@ -218,16 +218,8 @@ static void led_set_battery(void)
static void led_set_power(void)
{
- static unsigned int power_tick;
-
- power_tick++;
-
if (chipset_in_state(CHIPSET_STATE_ON))
led_set_color_power(LED_WHITE);
- else if (chipset_in_state(CHIPSET_STATE_ANY_SUSPEND))
- led_set_color_power((power_tick %
- LED_TICKS_PER_CYCLE < LED_ON_TICKS) ?
- LED_WHITE : LED_OFF);
else
led_set_color_power(LED_OFF);
}
