Re: (subset) [PATCH v2 RESEND] leds: trigger: pattern: add support for hrtimer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [李琼斯]





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux