mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
The introduction of high resolution PWM support changed the order of the
operations in the calculation of min and max period. The result in both
divisions is in most cases a truncation to 0, which limits the period to
the range of [0, 0].
Both numerators (and denominators) are within 64 bits, so the whole
expression can be put directly into the div64_u64, instead of doing it
partially.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| leds-mt6370-rgb.c | ||
| leds-pwm-multicolor.c | ||
| leds-qcom-lpg.c | ||
| Makefile | ||