On Wed, Sep 27, 2017 at 10:43 PM, Dmitry Torokhov
wrote:
>>One thing I noticed is that input_ff_create_memless() also does not
>>use high-resolution timer hence it also does not have the stop-time
>>precision that I'm looking for.
>
> I'll take patches for high resolution timers in ff memless, the
Dmitry,
On Fri, Sep 15, 2017 at 3:30 PM, Dmitry Torokhov
wrote:
> On Fri, Sep 15, 2017 at 2:55 PM, Jacek Anaszewski
> wrote:
>> On 09/15/2017 08:34 PM, Dmitry Torokhov wrote:
>>> On Thu, Sep 14, 2017 at 1:58 PM, Pavel Machek wrote:
On Thu 2017-09-14 21:31:31, Jacek Anaszewski wrote:
>
On Thu, Sep 14, 2017 at 12:31 PM, Jacek Anaszewski
wrote:
> I would change one more thing in this patch, though. The hr_timer engine
> should be made optional and not used by default for fast LEDs.
> It could be made configurable by exposing additional sysfs file from
> ledtrig-transient.c, e.g. h
On Wed, Sep 13, 2017 at 2:34 PM, Pavel Machek wrote:
>
> On Wed 2017-09-13 14:20:58, David Lin wrote:
> > On Wed, Sep 13, 2017 at 1:20 PM, Pavel Machek wrote:
> > >
> > > Hi!
> > >
> > > > These patch series add the LED_BRIGHTNESS_FAST flag supp
On Wed, Sep 13, 2017 at 1:20 PM, Pavel Machek wrote:
>
> Hi!
>
> > These patch series add the LED_BRIGHTNESS_FAST flag support for
> > ledtrig-transient to use hrtimer so that platforms with high-resolution
> > timer
> > support can have better accuracy in the trigger duration timing. The need
>
This is for readability as well as to avoid checkpatch warnings when
adding new bit flag information in the future.
Signed-off-by: David Lin
---
include/linux/leds.h | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/linux/leds.h b/include/linux
Anaszewski
Signed-off-by: David Lin
---
Documentation/leds/leds-class.txt | 5 +
include/linux/leds.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/Documentation/leds/leds-class.txt
b/Documentation/leds/leds-class.txt
index 836cb16d6f09..70d7a3dca621 100644
--- a/Documentation
/patch/8664831/
[2] https://lkml.org/lkml/2015/4/28/260
Changes from v1 to v2:
- Convert all the bit shifting flag in leds.h to use the BIT macro.
- Removed inline modifiers for the timer helper function.
David Lin (3):
leds: Replace flags bit shift with BIT() macros
leds: Add the
This patch adds a hrtimer to ledtrig-transient so that when driver is
registered with LED_BRIGHTNESS_FAST, the hrtimer is used for the better
time accuracy in handling the duration.
Signed-off-by: David Lin
---
drivers/leds/trigger/ledtrig-transient.c | 59 +---
1
+Cc: Greg KH
On Sun, Apr 30, 2017 at 2:36 PM, David Lin wrote:
> Hi,
>
> These patch series add the LED_BRIGHTNESS_FAST flag support for
> ledtrig-transient to use hrtimer so that platforms with high-resolution timer
> support can have better accuracy in the trigger duration timin
This is for readability as well as to avoid checkpatch warnings when
adding new bit flag information in the future.
Signed-off-by: David Lin
---
include/linux/leds.h | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/linux/leds.h b/include/linux/leds.h
This patch adds a hrtimer to ledtrig-transient so that when driver is
registered with LED_BRIGHTNESS_FAST, the hrtimer is used for the better
time accuracy in handling the duration.
Signed-off-by: David Lin
---
drivers/leds/trigger/ledtrig-transient.c | 59 +---
1
Anaszewski
Signed-off-by: David Lin
---
Documentation/leds/leds-class.txt | 5 +
include/linux/leds.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/Documentation/leds/leds-class.txt
b/Documentation/leds/leds-class.txt
index 836cb16d6f09..70d7a3dca621 100644
--- a/Documentation
/patch/8664831/
[2] https://lkml.org/lkml/2015/4/28/260
David Lin (3):
leds: Replace flags bit shift with BIT() macros
leds: Add the LED_BRIGHTNESS_FAST flag
led: ledtrig-transient: add support for hrtimer
Documentation/leds/leds-class.txt| 5 +++
drivers/leds/trigger/ledtrig
14 matches
Mail list logo