[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171466753939.1199434.16328391643586401261.b4-ty@kernel.org>
Date: Thu, 02 May 2024 17:32:19 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Martin Kurbanov <mmkurbanov@...utedevices.com>
Cc: linux-kernel@...r.kernel.org, linux-leds@...r.kernel.org,
kernel@...utedevices.com
Subject: Re: (subset) [PATCH v2 RESEND] leds: trigger: pattern: add support
for hrtimer
On Tue, 16 Apr 2024 23:18:05 +0300, Martin Kurbanov wrote:
> Currently, led pattern trigger uses timer_list to schedule brightness
> changing. As we know from timer_list API [1], it's not accurate to
> milliseconds and depends on HZ granularity.
>
> Example:
> "0 10 0 0 50 10 50 0 100 10 100 0 150 10 150 0 200 10 200 0 250 10 250 0",
> we expect it to be 60ms long, but it can actually be up to ~120ms
> (add ~10ms for each pattern when HZ == 100).
>
> [...]
Applied, thanks!
[1/1] leds: trigger: pattern: add support for hrtimer
commit: aa172ba73948e2152e258ead7e9ddbd806e809b0
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists