[RESEND PATCH 2/7] clk: fix error check for devm_clk_get_optional()
Simon Glass
sjg at chromium.org
Sat Dec 28 03:27:15 CET 2019
On Sun, 15 Dec 2019 at 20:14, Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:
>
> If skip all return error number, it may skip some real error cases,
> so only skip the error when the clock is not provided in DTS
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> drivers/clk/clk-uclass.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list