diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2022-02-03 14:02:02 +0300 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@microchip.com> | 2022-03-08 17:37:08 +0300 |
commit | 8e842f02af7e2f6225d52d78cd25b465a98d344b (patch) | |
tree | 8fee4ef6c37f2d61a66716bc35120c7e0af08883 /drivers/clk/at91/dt-compat.c | |
parent | 1a944729d8635fa59638f24e8727d5ccaa0c8c19 (diff) | |
download | linux-8e842f02af7e2f6225d52d78cd25b465a98d344b.tar.xz |
clk: at91: clk-master: remove dead code
Commit facb87ad7560 ("clk: at91: sama7g5: remove prescaler part of master
clock") removed the master clock's prescaler from clock tree of SAMA7G5
as it has been discovered that there is a hardware bug when trying to
change it at run-time (bug is described in description of
commit facb87ad7560 ("clk: at91: sama7g5: remove prescaler part of master
clock")). This was previously changed at CPUFreq driver request. Thus, with
commit facb87ad7560 ("clk: at91: sama7g5: remove prescaler part of master
clock") there is no need of code that handles run-time changes of master
clock's prescaler, thus remove this code.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220203110202.18329-1-claudiu.beznea@microchip.com
Diffstat (limited to 'drivers/clk/at91/dt-compat.c')
-rw-r--r-- | drivers/clk/at91/dt-compat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/at91/dt-compat.c b/drivers/clk/at91/dt-compat.c index ca2dbb65b9df..8ca8bcacf66d 100644 --- a/drivers/clk/at91/dt-compat.c +++ b/drivers/clk/at91/dt-compat.c @@ -392,8 +392,7 @@ of_at91_clk_master_setup(struct device_node *np, hw = at91_clk_register_master_pres(regmap, "masterck_pres", num_parents, parent_names, layout, - characteristics, &mck_lock, - CLK_SET_RATE_GATE, INT_MIN); + characteristics, &mck_lock); if (IS_ERR(hw)) goto out_free_characteristics; |