summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2019-09-02 16:39:41 +0200
committerThierry Reding <thierry.reding@gmail.com>2019-09-21 01:48:54 +0200
commitba73deb16ff5b2d70b1ffc025c84c1126aad7fea (patch)
treec83298f1ed7d34d54466414a357a983d978b2412 /scripts
parent9e3ca01f7e58ef4662c18adcb766ee3422ace0fb (diff)
downloadlinux-ba73deb16ff5b2d70b1ffc025c84c1126aad7fea.tar.gz
linux-ba73deb16ff5b2d70b1ffc025c84c1126aad7fea.tar.bz2
linux-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 <uwe@kleine-koenig.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions