From: Rafal Prylowski Date: Mon, 28 May 2012 15:35:54 +0000 (+0800) Subject: leds: don't disable blinking when writing the same value to delay_on or delay_off X-Git-Tag: v3.5-rc3~24^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fbd8716da4c69ddbb76c022f3f4a0d50723c68f;p=pandora-kernel.git leds: don't disable blinking when writing the same value to delay_on or delay_off Function led_set_software_blink() assumes that blink timer is still running, but commit 488bc35bf40df89d37486c1826b178a2fba36ce7 introduced disabling of blink timer before each call to led_set_software_blink(). Correct led_software_blink(): 1) remove protection against reprogramming blink timer to the same values, because it only disables blinking now, 2) remove unnecessary call to led_stop_software_blink(). Signed-off-by: Rafal Prylowski Cc: Richard Purdie Signed-off-by: Bryan Wu --- Reading git-diff-tree failed