Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbb563fd authored by Prasad Sodagudi's avatar Prasad Sodagudi
Browse files

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: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent 59d3346d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment