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>
|
||
|---|---|---|
| .. | ||
| clk-cv18xx-common.c | ||
| clk-cv18xx-common.h | ||
| clk-cv18xx-ip.c | ||
| clk-cv18xx-ip.h | ||
| clk-cv18xx-pll.c | ||
| clk-cv18xx-pll.h | ||
| clk-cv1800.c | ||
| clk-cv1800.h | ||
| clk-sg2042-clkgen.c | ||
| clk-sg2042-pll.c | ||
| clk-sg2042-rpgate.c | ||
| clk-sg2042.h | ||
| Kconfig | ||
| Makefile | ||