[U-Boot] [U-Boot, 4/4] rockchip: pwm: add mask for config setting

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Jul 27 08:32:47 UTC 2017


> 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.
> Fixs: 3851059 rockchip: Setup default PWM flags
> 
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>
> ---
> 
>  arch/arm/include/asm/arch-rockchip/pwm.h | 2 ++
>  drivers/pwm/rk_pwm.c                     | 1 +
>  2 files changed, 3 insertions(+)
> 

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list