diff options
author | Dario Binacchi | 2020-04-13 14:36:27 +0200 |
---|---|---|
committer | Lukasz Majewski | 2020-08-24 11:03:26 +0200 |
commit | 16bdc85b488dd2f9463a71d6aa09bdf5ea9a9978 (patch) | |
tree | cbf9247c78ad6be5ad628ab73cc32975bcf4099d /drivers/clk/clk-divider.c | |
parent | cd16c57bd0d6c498d5c180d70c6f0f690e9c32de (diff) |
clk: set flags in the ccf registration routines
The top-level framework flags are passed as parameter to the common
clock framework (ccf) registration routines without being used.
Checks of the flags setting added by the patch have been added in the
ccf test.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Diffstat (limited to 'drivers/clk/clk-divider.c')
-rw-r--r-- | drivers/clk/clk-divider.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c index 34658536c48..8f59d7fb72c 100644 --- a/drivers/clk/clk-divider.c +++ b/drivers/clk/clk-divider.c @@ -212,6 +212,7 @@ static struct clk *_register_divider(struct device *dev, const char *name, /* register the clock */ clk = &div->clk; + clk->flags = flags; ret = clk_register(clk, UBOOT_DM_CLK_CCF_DIVIDER, name, parent_name); if (ret) { |