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

Commit d6fb2070 authored by Srinivasarao P's avatar Srinivasarao P
Browse files

Revert "clk: qcom: rcg2: Don't crash if our parent can't be found; return an error"



This reverts commit ef7339a3.

Change-Id: I4ca79e90de2ab00a7d679ca038661f5605c06947
Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent b73e822d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -210,9 +210,6 @@ static int _freq_tbl_determine_rate(struct clk_hw *hw, const struct freq_tbl *f,

	clk_flags = clk_hw_get_flags(hw);
	p = clk_hw_get_parent_by_index(hw, index);
	if (!p)
		return -EINVAL;

	if (clk_flags & CLK_SET_RATE_PARENT) {
		if (f->pre_div) {
			if (!rate)