[PATCH v2 2/7] clk: fix error check for devm_clk_get_optional()

Tom Rini trini at konsulko.com
Thu Jan 16 15:42:14 CET 2020


On Thu, Jan 09, 2020 at 11:35:05AM +0800, Chunfeng Yun 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Ryder Lee <ryder.lee at mediatek.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200116/ff7d46ad/attachment.sig>


More information about the U-Boot mailing list