aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2019-09-02 14:39:41 +0000
committerThierry Reding <[email protected]>2019-09-20 23:48:54 +0000
commitba73deb16ff5b2d70b1ffc025c84c1126aad7fea (patch)
treec83298f1ed7d34d54466414a357a983d978b2412 /drivers/pwm/pwm-stm32.c
parentpwm: bcm2835: Suppress error message during deferred probe (diff)
downloadkernel-ba73deb16ff5b2d70b1ffc025c84c1126aad7fea.tar.gz
kernel-ba73deb16ff5b2d70b1ffc025c84c1126aad7fea.zip
pwm: rockchip: Set polarity unconditionally in .get_state()
Don't rely on *state being zero initialized and PWM_POLARITY_NORMAL being zero. So always assign .polarity. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions