Skip to content
Commit 4db39268 authored by Arnaud Patard (Rtp)'s avatar Arnaud Patard (Rtp) Committed by Anatolij Gustschin
Browse files

rockchip: pwm: Fix default polarity



In the code, the default polarity is set to positive/positive,
which is neither normal polarity or inverted polarity. It's
only the hardware default. This leads to booting linux with
wrong polarity setting.

Update the code to use PWM_DUTY_POSTIVE | PWM_INACTIVE_NEGATIVE
by default instead.

Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Tested-by: default avatarPeter Robinson <pbrobinson@gmail.com>
parent a0c248ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment