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

Commit 7e056107 authored by Taniya Das's avatar Taniya Das Committed by Gerrit - the friendly Code Review server
Browse files

clk: qcom: Fix return value check for round rate during clock registration



Fix return value check for round rate call during
clock registration leading to function call failure.

Change-Id: I99ac293f34090ee4905c44474f4e7b491e635103
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent ce471b12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4619,7 +4619,7 @@ static void clk_populate_clock_opp_table(struct device_node *np,

	for (n = 0; ; n++) {
		rrate = clk_hw_round_rate(hw, rate + 1);
		if (!rate) {
		if (!rrate) {
			pr_err("clk_round_rate failed for %s\n",
							core->name);
			goto err_derive_device_list;