clk_get_parent returns an error pointer upon failure, not NULL. So the
checks as they exist won't catch a failure. This patch changes the
checks and the return values to properly handle an error pointer.
Fixes:
|
||
---|---|---|
.. | ||
phy | ||
pll | ||
dsi_cfg.c | ||
dsi_cfg.h | ||
dsi_host.c | ||
dsi_manager.c | ||
dsi.c | ||
dsi.h | ||
dsi.xml.h | ||
mmss_cc.xml.h | ||
sfpb.xml.h |