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

Commit ce5af3f2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: qcom: Fix the rate check during OPP population"

parents fcae7a84 89d7fec3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
@@ -3751,7 +3751,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;