[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2020-09-30 21:25:25
Message-ID: git-mailbomb-linux-master-b02cf0c4736c65c6667f396efaae6b5521e82abf () kernel ! org
[Download RAW message or body]
Commit: b02cf0c4736c65c6667f396efaae6b5521e82abf
Parent: f3bb0f796f5ffe32f0fbdce5b1b12eb85511158f
Refname: refs/heads/master
Web: https://git.kernel.org/torvalds/c/b02cf0c4736c65c6667f396efaae6b5521e82abf
Author: Dinh Nguyen <dinguyen@kernel.org>
AuthorDate: Mon Aug 31 15:26:57 2020 -0500
Committer: Stephen Boyd <sboyd@kernel.org>
CommitDate: Tue Sep 22 12:54:41 2020 -0700
clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
The fixed divider the emac_ptp_free_clk should be 2, not 4.
Fixes: 07afb8db7340 ("clk: socfpga: stratix10: add clock driver for
Stratix10 platform")
Cc: stable@vger.kernel.org
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Link: https://lore.kernel.org/r/20200831202657.8224-1-dinguyen@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---
drivers/clk/socfpga/clk-s10.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/socfpga/clk-s10.c b/drivers/clk/socfpga/clk-s10.c
index c1dfc9b34e4e..661a8e9bfb9b 100644
--- a/drivers/clk/socfpga/clk-s10.c
+++ b/drivers/clk/socfpga/clk-s10.c
@@ -209,7 +209,7 @@ static const struct stratix10_perip_cnt_clock s10_main_perip_cnt_clks[] = {
{ STRATIX10_EMAC_B_FREE_CLK, "emacb_free_clk", NULL, emacb_free_mux, ARRAY_SIZE(emacb_free_mux),
0, 0, 2, 0xB0, 1},
{ STRATIX10_EMAC_PTP_FREE_CLK, "emac_ptp_free_clk", NULL, emac_ptp_free_mux,
- ARRAY_SIZE(emac_ptp_free_mux), 0, 0, 4, 0xB0, 2},
+ ARRAY_SIZE(emac_ptp_free_mux), 0, 0, 2, 0xB0, 2},
{ STRATIX10_GPIO_DB_FREE_CLK, "gpio_db_free_clk", NULL, gpio_db_free_mux,
ARRAY_SIZE(gpio_db_free_mux), 0, 0, 0, 0xB0, 3},
{ STRATIX10_SDMMC_FREE_CLK, "sdmmc_free_clk", NULL, sdmmc_free_mux,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic