commit | 924e2d0155608328c589f23b2f9942a4ed65438a | [log] [tgz] |
---|---|---|
author | Taniya Das <tdas@codeaurora.org> | Mon Jan 06 15:48:42 2020 +0530 |
committer | Stephen Boyd <sboyd@kernel.org> | Mon Jan 06 08:53:44 2020 -0800 |
tree | 210c968ae09db5eab24725b43c9c38909ed5c13e | |
parent | 253dc75a0bb8f6207b3ac5f4897871b7b47a554e [diff] |
clk: qcom: rpmh: skip undefined clocks when registering When iterating over a platform's available clocks in clk_rpmh_probe(), check for undefined (null) entries in the clocks array. Not all clock indexes necessarily have clocks defined. Signed-off-by: Taniya Das <tdas@codeaurora.org> Link: https://lkml.kernel.org/r/1578305923-29125-2-git-send-email-tdas@codeaurora.org [sboyd@kernel.org: Leave 'name' declaration at beginning of loop] Signed-off-by: Stephen Boyd <sboyd@kernel.org>