[RESEND 1/3] ram: rk3399: Fix .set_rate_index() error handling

Simon Glass sjg at chromium.org
Thu Aug 11 16:47:45 CEST 2022


On Thu, 11 Aug 2022 at 05:09, Lee Jones <lee at kernel.org> wrote:
>
> Functions pointed to by this op pointer can return non-zero values
> indicating an error.  Ensure any error value is propagated back up the
> call-chain.
>
> Signed-off-by: Lee Jones <lee at kernel.org>
> Tested-by: Xavier Drudis Ferran <xdrudis at tinet.cat>
> Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>  drivers/ram/rockchip/sdram_rk3399.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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


More information about the U-Boot mailing list