From: Antonio Ospite Date: Tue, 1 Nov 2011 00:12:22 +0000 (-0700) Subject: leds: turn the blink_timer off before starting to blink X-Git-Tag: v3.2-rc1~108^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=488bc35bf40df89d37486c1826b178a2fba36ce7;p=pandora-kernel.git leds: turn the blink_timer off before starting to blink Depending on the implementation of the hardware blinking function in blink_set(), the led can support hardware blinking for some values of delay_on and delay_off and fall-back to software blinking for some other values. Turning off the blink_timer unconditionally before starting to blink make sure that a sequence like: OFF hardware blinking software blinking hardware blinking does not leave the software blinking timer active. Signed-off-by: Antonio Ospite Reviewed-by: Johannes Berg Cc: Richard Purdie Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed