clk: sophgo: clk-sg2042-pll: Fix uninitialized variable in debug output
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 18 Jul 2024 02:25:53 +0000 (21:25 -0500)
committerStephen Boyd <sboyd@kernel.org>
Thu, 18 Jul 2024 20:33:15 +0000 (13:33 -0700)
commit5a6a25ea5bcd5bdf80fb13acd65a03fc6b8794b1
treec1521c86577a05b336bf4f2f1d2375e792d5753b
parenta83b22754e351f13fb46596c85f667dc33da71ec
clk: sophgo: clk-sg2042-pll: Fix uninitialized variable in debug output

If sg2042_get_pll_ctl_setting() fails then "value" isn't initialized and
it is printed in the debug output.  Initialize it to zero.

Fixes: 48cf7e01386e ("clk: sophgo: Add SG2042 clock driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/baf0a490-d5ba-4528-90ba-80399684692d@stanley.mountain
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sophgo/clk-sg2042-pll.c