clk: qcom: Fix accessing of clks element during the probe
There is access to platform descriptor clks init.name without
checking, whether clks is present or not. This is leading to
kernel crash during the device bootup. Move the init.name
access after checking whether clks is valid or not.
Change-Id: I7b27e5103822d6b2f499fb5f5e94ae9f9d4af34a
Signed-off-by:
Prasad Sodagudi <psodagud@codeaurora.org>
Loading
Please register or sign in to comment