diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2022-02-03 13:02:02 +0200 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@microchip.com> | 2022-03-08 15:37:08 +0100 |
commit | 8e842f02af7e2f6225d52d78cd25b465a98d344b (patch) | |
tree | 8fee4ef6c37f2d61a66716bc35120c7e0af08883 /drivers/clk/at91/at91sam9rl.c | |
parent | 1a944729d8635fa59638f24e8727d5ccaa0c8c19 (diff) | |
download | linux-8e842f02af7e2f6225d52d78cd25b465a98d344b.tar.gz linux-8e842f02af7e2f6225d52d78cd25b465a98d344b.tar.bz2 linux-8e842f02af7e2f6225d52d78cd25b465a98d344b.zip |
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/at91sam9rl.c')
-rw-r--r-- | drivers/clk/at91/at91sam9rl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/at91/at91sam9rl.c b/drivers/clk/at91/at91sam9rl.c index 4d4faf6c61d8..b992137bab02 100644 --- a/drivers/clk/at91/at91sam9rl.c +++ b/drivers/clk/at91/at91sam9rl.c @@ -123,8 +123,7 @@ static void __init at91sam9rl_pmc_setup(struct device_node *np) parent_names, &at91rm9200_master_layout, &sam9rl_mck_characteristics, - &sam9rl_mck_lock, CLK_SET_RATE_GATE, - INT_MIN); + &sam9rl_mck_lock); if (IS_ERR(hw)) goto err_free; |