[PATCH 6.15 073/192] pwm: Fix invalid state detection