clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
Subsystems (3)
Dinh Nguyen
maintainerPATCH 1/1 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")
Signed-off-by Dinh Nguyen <[email protected]>
--- drivers/clk/socfpga/clk-s10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/socfpga/clk-s10.c +1 -1
@@ -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,
Signature · 1 line
2.17.1
Dinh Nguyen
maintainerPing?
Quoted 24 lines · Dinh Nguyen
The fixed divider the
emac_ptp_free_clkshould be 2, not 4.Fixes 07afb8db7340 ("clk: socfpga: stratix10: add clock driver forStratix10 platform")
Signed-off-by Dinh Nguyen <[email protected]>--- drivers/clk/socfpga/clk-s10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/socfpga/clk-s10.c +1
-1@@ -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,
Quoting Dinh Nguyen (2020-08-31 13:26:57)
Quoted 7 lines
The fixed divider the
emac_ptp_free_clkshould be 2, not 4.Fixes 07afb8db7340 ("clk: socfpga: stratix10: add clock driver forStratix10 platform")
Signed-off-by Dinh Nguyen <[email protected]>---
Applied to clk-fixes