Re: [PATCH 1/2] leds: use hrtimer for blinking

2015-04-24 Thread Jacek Anaszewski
Hi Stas, On 22.04.2015 19:06, Stas Sergeev wrote:> > Add the following resolutions to led trigger timer: > 'n' for nanosecond resolution > 'u' for microsecond resolution > 'm' for millisecond resolution > The default is 'm' for backward compatibility. > > This functionality is needed for things

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

2015-04-22 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