提交 efece632 编写于 作者: H Hai Pham 提交者: Marek Vasut

clk: renesas: Fix incorrect return RPC clk_get_rate

RPC clk_get_rate will return error code instead of expected clock rate.
Fix this.
Signed-off-by: NHai Pham <hai.pham.ud@renesas.com>
Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
上级 ccc2c9aa
......@@ -310,7 +310,7 @@ static u64 gen3_clk_get_rate64(struct clk *clk)
__func__, __LINE__,
core->parent, prediv, postdiv, rate);
return -EINVAL;
return rate;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册