diff options
author | Fabio Baltieri <fabio.baltieri@linaro.org> | 2013-04-30 14:45:06 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-05-29 20:52:18 +0200 |
commit | f586938ba2cf83ed4cbebe96436220d182a7808e (patch) | |
tree | 1ad0d4f8f49a2e522b67368715bdf05386197c7a /crypto/xts.c | |
parent | clk: ux500: Provide device enumeration number suffix for SMSC911x (diff) | |
download | linux-f586938ba2cf83ed4cbebe96436220d182a7808e.tar.xz linux-f586938ba2cf83ed4cbebe96436220d182a7808e.zip |
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>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions