Skip to content
Commit ba3e5037 authored by Max Kellermann's avatar Max Kellermann Committed by Thierry Reding
Browse files

pwm-sun4i: Calculate "delay_jiffies" directly, eliminate absolute time



Basically this code did "jiffies + period - jiffies", and we can
simply eliminate the "jiffies" time stamp here.

Signed-off-by: default avatarMax Kellermann <max.kellermann@gmail.com>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent c7078972
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment