qcom: clk: Support deferred clock initialization
Clocks may depend on other clocks which are not registered yet. Handle
the error code -EPROBE_DEFER during clock initialization by placing
the offender on a clock orphan list, which will redo clock
initialization when another clock is registered successfully. Client
drivers may not obtain references to clocks on the orphan list.
Change-Id: I1a12feebe003884b775381d881e434bc9376f693
Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment