summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-04-16 10:02:45 +0200
committerThierry Reding <thierry.reding@gmail.com>2020-06-02 15:50:52 +0200
commitaef1a3799b5cb3ba4841f6034497b179646ccc70 (patch)
tree144592a7fec04b95bedbe61ab9dc9938b4134ef6 /drivers/bus
parentcad0f2960675261584c14e8f0026cd67c60f4864 (diff)
downloadlinux-aef1a3799b5cb3ba4841f6034497b179646ccc70.tar.bz2
pwm: imx27: Fix rounding behavior
To not trigger the warnings provided by CONFIG_PWM_DEBUG - use up-rounding in .get_state() - don't divide by the result of a division - don't use the rounded counter value for the period length to calculate the counter value for the duty cycle Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions