clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
authorDinh Nguyen <dinguyen@kernel.org>
Mon, 31 Aug 2020 20:26:57 +0000 (15:26 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Oct 2020 06:02:45 +0000 (08:02 +0200)
commitc32f1ee1d6d08e21123e93981a2e22eb6b3555c6
tree85f8e06c4bf66309ff4ff66669ba0355096bdace
parenta77ae2f6d900311ac96e0247f74bb7acf510a68c
clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk

commit b02cf0c4736c65c6667f396efaae6b5521e82abf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/socfpga/clk-s10.c