Skip to content
Commit 06f4e36b authored by Kever Yang's avatar Kever Yang Committed by Philipp Tomsich
Browse files

rockchip: pwm: add mask for config setting



Use mask to clear old setting before direct set the new config,
or else there it will mess up the config when it's not the same
with default value.

Fixes: 38510598 rockchip: Setup default PWM flags
Signed-off-by: default avatarKever Yang <kever.yang@rock-chips.com>
Acked-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
parent 3030c951
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