Loading drivers/clk/qcom/clk-rcg2.c +5 −1 Original line number Diff line number Diff line Loading @@ -1472,7 +1472,11 @@ static int clk_gfx3d_src_determine_rate(struct clk_hw *hw, } f = qcom_find_freq(rcg->freq_tbl, req->rate); if (!f || (req->rate != f->freq)) if (!f) return -EINVAL; if (req->rate != f->freq) req->rate = f->freq; /* Indexes of source from the parent map */ Loading Loading
drivers/clk/qcom/clk-rcg2.c +5 −1 Original line number Diff line number Diff line Loading @@ -1472,7 +1472,11 @@ static int clk_gfx3d_src_determine_rate(struct clk_hw *hw, } f = qcom_find_freq(rcg->freq_tbl, req->rate); if (!f || (req->rate != f->freq)) if (!f) return -EINVAL; if (req->rate != f->freq) req->rate = f->freq; /* Indexes of source from the parent map */ Loading