linux_dsm_epyc7002/drivers/clk/ux500
Fabio Baltieri f586938ba2 clk: ux500: clk-sysctrl: handle clocks with no parents
Fix clk_reg_sysctrl() to set main clock registers of new struct
clk_sysctrl even if the registered clock has no parents.

This fixes an issue where "ulpclk" was registered with all clk->reg_*
fields uninitialized, causing a -EINVAL error from clk_prepare().

Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2013-05-29 11:52:18 -07:00
..
abx500-clk.c
clk-prcc.c
clk-prcmu.c
clk-sysctrl.c clk: ux500: clk-sysctrl: handle clocks with no parents 2013-05-29 11:52:18 -07:00
clk.h
Makefile
u8500_clk.c
u8540_clk.c
u9540_clk.c