Skip to content

Commit b02cf0c

Browse files
Dinh Nguyenbebarino
authored andcommitted
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: 07afb8d ("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>
1 parent f3bb0f7 commit b02cf0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/socfpga/clk-s10.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static const struct stratix10_perip_cnt_clock s10_main_perip_cnt_clks[] = {
209209
{ STRATIX10_EMAC_B_FREE_CLK, "emacb_free_clk", NULL, emacb_free_mux, ARRAY_SIZE(emacb_free_mux),
210210
0, 0, 2, 0xB0, 1},
211211
{ STRATIX10_EMAC_PTP_FREE_CLK, "emac_ptp_free_clk", NULL, emac_ptp_free_mux,
212-
ARRAY_SIZE(emac_ptp_free_mux), 0, 0, 4, 0xB0, 2},
212+
ARRAY_SIZE(emac_ptp_free_mux), 0, 0, 2, 0xB0, 2},
213213
{ STRATIX10_GPIO_DB_FREE_CLK, "gpio_db_free_clk", NULL, gpio_db_free_mux,
214214
ARRAY_SIZE(gpio_db_free_mux), 0, 0, 0, 0xB0, 3},
215215
{ STRATIX10_SDMMC_FREE_CLK, "sdmmc_free_clk", NULL, sdmmc_free_mux,

0 commit comments

Comments
 (0)