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.c | ||
| dsi.h | ||
| dsi.xml.h | ||
| dsi_cfg.c | ||
| dsi_cfg.h | ||
| dsi_host.c | ||
| dsi_manager.c | ||
| mmss_cc.xml.h | ||
| sfpb.xml.h | ||