commit | dc338d3223356646d3bf846fa059d75c64eeb596 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Jan 09 11:35:06 2020 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 16 09:39:45 2020 -0500 |
tree | d6f710a54eb37167b042f5e6c2557841c5a2bd26 | |
parent | 5e108fb8a673563de7c4993196830cb733621b80 [diff] |
clk: check valid clock by clk_valid() 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. Reviewed-by: Simon Glass <sjg@chromium.org>