From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 16 Jan 2020 09:42:19 -0500 Subject: [PATCH v2 3/7] clk: check valid clock by clk_valid() In-Reply-To: <1578540910-3516-3-git-send-email-chunfeng.yun@mediatek.com> References: <1578540910-3516-1-git-send-email-chunfeng.yun@mediatek.com> <1578540910-3516-3-git-send-email-chunfeng.yun@mediatek.com> Message-ID: <20200116144219.GR8732@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > Reviewed-by: Ryder Lee 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: