aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-omap-dmtimer.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2019-08-24 02:10:38 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-01-08 13:43:39 +0100
commit2101c878f767fc6341ce0057e3b53d6129e76d99 (patch)
treec26d5ea2989b9d27f49bfab18b6db7b27836cd32 /drivers/pwm/pwm-omap-dmtimer.c
parentff55e7a314143e717f4d96271b541c29111502df (diff)
downloadlinux-2101c878f767fc6341ce0057e3b53d6129e76d99.tar.gz
linux-2101c878f767fc6341ce0057e3b53d6129e76d99.tar.bz2
linux-2101c878f767fc6341ce0057e3b53d6129e76d99.zip
pwm: atmel: Replace loop in prescale calculation by ad-hoc calculation
The calculated values are the same with the modified algorithm. The only difference is that the calculation is a bit more efficient. Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions