[PATCH 1/3] leds: use hrtimer for blinking

2015-04-27 Thread Stas Sergeev
Normal timer has a jiffy resolution, usually 10ms. But leds trigger timer control allows to set the delays with 1ms granularity. In order to make this to really work we need to use hrtimer. CC: Bryan Wu CC: Richard Purdie CC: linux-l...@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-o

[PATCH 1/3] leds: use hrtimer for blinking

2015-04-27 Thread Stas Sergeev
Normal timer has a jiffy resolution, usually 10ms. But leds trigger timer control allows to set the delays with 1ms granularity. In order to make this to really work we need to use hrtimer. CC: Bryan Wu CC: Richard Purdie CC: linux-l...@vger.kernel.org CC: linux-kernel@vger.kernel.org Signed-o