Skip to content

pwm: Improvements for PWM_DEBUG checks

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pwm: Disable PWM_DEBUG check for disabled statesdrivers/pwm/core.c+20 -120 replies
2/2pwm: Check actual period and duty_cycle for ignored polarity testdrivers/pwm/core.c+1 -10 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/2] pwm: Improvements for PWM_DEBUG checks

Hello,

while working on the pwm-mediatek driver I found a few corners in the debug checks that result in false positive diagnostics. Find the two resulting patches in reply to this mail.

Best regards
Uwe

Uwe Kleine-König (2):
pwm: Disable PWM_DEBUG check for disabled states
pwm: Check actual period and duty_cycle for ignored polarity test

 drivers/pwm/core.c | 34 +++++++++++++++++++++-------------
 1 file changed, 21 insertions(+), 13 deletions(-)

base-commit: edd3bcb1801e1bb98f4f81485140e18c86406ced

Signature · 1 line
2.49.0