clk: Show correct information when fail to set clock rate
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 27 Apr 2015 09:29:52 +0000 (18:29 +0900)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 15 May 2015 16:55:27 +0000 (09:55 -0700)
commit2885c3b2a3da7902314fa1d0a5b603eeea7c7302
tree9076cee69717244a19fab67110d9d497fb2c37f6
parent64a12c56addcb2d15ff752874abbe553a5f2a45b
clk: Show correct information when fail to set clock rate

This patch shows the correct information for debugging when fail
to set clock rate because original error message shows the error
value instead of current clock rate.

Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-conf.c