linux/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
..
Makefile clk: ux500: Add support for sysctrl clocks 2013-04-10 11:27:56 -07:00
abx500-clk.c clk: ux500: abx500: Define clock tree for ab850x 2013-04-10 12:19:56 -07:00
clk-prcc.c ARM: ux500: get rid of <mach/[hardware|db8500-regs].h> 2013-04-08 13:59:28 +02:00
clk-prcmu.c clk: ux500: Fix prcmu clocks registration 2013-03-27 08:35:33 -07:00
clk-sysctrl.c clk: ux500: clk-sysctrl: handle clocks with no parents 2013-05-29 11:52:18 -07:00
clk.h clk: ux500: fix mismatched types 2013-04-22 11:46:10 -07:00
u8500_clk.c clk: ux500: Provide device enumeration number suffix for SMSC911x 2013-05-29 11:52:18 -07:00
u8540_clk.c clk: ux500: First version of clock definitions for ux500 2012-09-06 15:58:04 -07:00
u9540_clk.c clk: ux500: First version of clock definitions for ux500 2012-09-06 15:58:04 -07:00