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

Simon Glass sjg at chromium.org
Thu Jul 27 15:14:02 UTC 2017


On 19 July 2017 at 05:54, Kever Yang <kever.yang at rock-chips.com> wrote:
> 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>
> ---
>
>  arch/arm/include/asm/arch-rockchip/pwm.h | 2 ++
>  drivers/pwm/rk_pwm.c                     | 1 +
>  2 files changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list