Skip to content

pwm: tiehrpwm: various fixes

Uwe Kleine-König linux-pwm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4pwm: tiehrpwm: Don't drop runtime PM reference in .free()drivers/pwm/pwm-tiehrpwm.c+0 -50 replies
2/4pwm: tiehrpwm: Make code comment in .free() more usefuldrivers/pwm/pwm-tiehrpwm.c+1 -10 replies
3/4pwm: tiehrpwm: Fix various off-by-one errors in duty-cycle calculationdrivers/pwm/pwm-tiehrpwm.c+58 -850 replies
4/4pwm: tiehrpwm: Fix corner case in clock divisor calculationdrivers/pwm/pwm-tiehrpwm.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] pwm: tiehrpwm: various fixes

Hello,

I setup the PWM device on a beaglebone black with the intention to convert this driver to the waveform API. Before getting to that though, I found various issues that are addressed here. The problems fixed are all quite old, they all exist since 2012, so I think there is no urge to get them in and I tend to let them stay in next for a while.

Best regards
Uwe

Uwe Kleine-König (4):
pwm: tiehrpwm: Don't drop runtime PM reference in .free()
pwm: tiehrpwm: Make code comment in .free() more useful
pwm: tiehrpwm: Fix various off-by-one errors in duty-cycle calculation
pwm: tiehrpwm: Fix corner case in clock divisor calculation

 drivers/pwm/pwm-tiehrpwm.c | 154 +++++++++++++++----------------------
 1 file changed, 61 insertions(+), 93 deletions(-)

base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585

Signature · 1 line
2.50.1