提交 204c85d1 编写于 作者: R Rhyland Klein 提交者: Thierry Reding

clk: tegra: pll: Update warning message

Swap out the generic WARN_ON with a WARN which gives more information
about what is happening.
Reviewed-by: NBenson Leung <bleung@chromium.org>
Signed-off-by: NRhyland Klein <rklein@nvidia.com>
Signed-off-by: NThierry Reding <treding@nvidia.com>
上级 7db864c9
......@@ -692,7 +692,8 @@ static unsigned long clk_pll_recalc_rate(struct clk_hw *hw,
pdiv = _hw_to_p_div(hw, cfg.p);
if (pdiv < 0) {
WARN_ON(1);
WARN(1, "Clock %s has invalid pdiv value : 0x%x\n",
__clk_get_name(hw->clk), cfg.p);
pdiv = 1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册