Skip to content
Commit c7662fc5 authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Michael Turquette
Browse files

clk: fix possible null pointer dereference

The commit 646cafc6

 (clk: Change clk_ops->determine_rate to
return a clk_hw as the best parent) opens a possibility for
null pointer dereference, fix this.

Signed-off-by: default avatarStanimir Varbanov <svarbanov@mm-sol.com>
Reviewed-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 176a107b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment