clk: qcom: alpha-pll: Make error prints more informative
authorStephen Boyd <swboyd@chromium.org>
Wed, 5 Feb 2020 06:54:21 +0000 (22:54 -0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 12 Feb 2020 23:24:55 +0000 (15:24 -0800)
commitf78f29079327a2f0052096f65a06f66838e82b70
tree1852010830a0ce1018ba95b0c8f7967498658539
parent1a6151128c847c473da1c7e7022ef78d3e2d6689
clk: qcom: alpha-pll: Make error prints more informative

I recently ran across this printk error message spewing in my logs

 Call set rate on the PLL with rounded rates!

and I had no idea what clk that was or what rate was failing to round
properly. Make the printk more informative by telling us what went wrong
and also add the name of the clk that's failing to change rate.
Furthermore, update the other printks in this file with the clk name
each time so we know what clk we're talking about.

Cc: Taniya Das <tdas@codeaurora.org>
Cc: Venkata Narendra Kumar Gutta <vnkgutta@codeaurora.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lkml.kernel.org/r/20200205065421.9426-1-swboyd@chromium.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c