[PATCH v2 3/7] clk: check valid clock by clk_valid()

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


On Thu, Jan 09, 2020 at 11:35:06AM +0800, Chunfeng Yun wrote:

> Add valid check for clk->dev, it's useful when get optional
> clock even when the clk point is valid, but its dev will be
> NULL.
> 
> 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/2ea32eb1/attachment.sig>


More information about the U-Boot mailing list