summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorRonaldo Nunez <rnunez@baylibre.com>2026-05-22 16:13:48 -0300
committerUwe Kleine-König <ukleinek@kernel.org>2026-05-23 18:54:48 +0200
commitdc9e08fdbcc3eb08a1d2b868b535081c44425e27 (patch)
tree438fd76c73717c0e1040ee13f685d8416bb33eaa /scripts/Makefile.thinlto
parentc84291ce0e09db9377d7177e4c82424e42d26c8f (diff)
pwm: imx27: Fix variable truncation in .apply()
Fix a variable truncation when calculating period in microseconds as part of the solution for the ERR051198 in .apply() callback. Example scenario: - Period of 3us (PWMPR = 196 and prescaler = 1) - Expected value in tmp: 198000000000 (NSEC_PER_SEC * (196 + 2) * 1) - Actual value is 431504384 (truncation to u32) Signed-off-by: Ronaldo Nunez <rnunez@baylibre.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260522191348.6227-1-rnunez@baylibre.com Fixes: a25351e4c774 ("pwm: imx27: Workaround of the pwm output bug when decrease the duty cycle") Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions