diff options
Diffstat (limited to 'drivers/clk/st/clkgen-mux.c')
| -rw-r--r-- | drivers/clk/st/clkgen-mux.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/clk/st/clkgen-mux.c b/drivers/clk/st/clkgen-mux.c index 4fbe6e099587..717c4a91a17b 100644 --- a/drivers/clk/st/clkgen-mux.c +++ b/drivers/clk/st/clkgen-mux.c | |||
| @@ -237,7 +237,7 @@ static struct clk *clk_register_genamux(const char *name, | |||
| 237 | 237 | ||
| 238 | init.name = name; | 238 | init.name = name; |
| 239 | init.ops = &clkgena_divmux_ops; | 239 | init.ops = &clkgena_divmux_ops; |
| 240 | init.flags = CLK_IS_BASIC; | 240 | init.flags = CLK_IS_BASIC | CLK_GET_RATE_NOCACHE; |
| 241 | init.parent_names = parent_names; | 241 | init.parent_names = parent_names; |
| 242 | init.num_parents = num_parents; | 242 | init.num_parents = num_parents; |
| 243 | 243 | ||
| @@ -513,7 +513,8 @@ static void __init st_of_clkgena_prediv_setup(struct device_node *np) | |||
| 513 | 0, &clk_name)) | 513 | 0, &clk_name)) |
| 514 | return; | 514 | return; |
| 515 | 515 | ||
| 516 | clk = clk_register_divider_table(NULL, clk_name, parent_name, 0, | 516 | clk = clk_register_divider_table(NULL, clk_name, parent_name, |
| 517 | CLK_GET_RATE_NOCACHE, | ||
| 517 | reg + data->offset, data->shift, 1, | 518 | reg + data->offset, data->shift, 1, |
| 518 | 0, data->table, NULL); | 519 | 0, data->table, NULL); |
| 519 | if (IS_ERR(clk)) | 520 | if (IS_ERR(clk)) |
| @@ -582,7 +583,7 @@ static struct clkgen_mux_data stih416_a9_mux_data = { | |||
| 582 | }; | 583 | }; |
| 583 | static struct clkgen_mux_data stih407_a9_mux_data = { | 584 | static struct clkgen_mux_data stih407_a9_mux_data = { |
| 584 | .offset = 0x1a4, | 585 | .offset = 0x1a4, |
| 585 | .shift = 1, | 586 | .shift = 0, |
| 586 | .width = 2, | 587 | .width = 2, |
| 587 | }; | 588 | }; |
| 588 | 589 | ||
| @@ -786,7 +787,8 @@ static void __init st_of_clkgen_vcc_setup(struct device_node *np) | |||
| 786 | &mux->hw, &clk_mux_ops, | 787 | &mux->hw, &clk_mux_ops, |
| 787 | &div->hw, &clk_divider_ops, | 788 | &div->hw, &clk_divider_ops, |
| 788 | &gate->hw, &clk_gate_ops, | 789 | &gate->hw, &clk_gate_ops, |
| 789 | data->clk_flags); | 790 | data->clk_flags | |
| 791 | CLK_GET_RATE_NOCACHE); | ||
| 790 | if (IS_ERR(clk)) { | 792 | if (IS_ERR(clk)) { |
| 791 | kfree(gate); | 793 | kfree(gate); |
| 792 | kfree(div); | 794 | kfree(div); |
