| From d33ee00a1251e0d6ebb1c2784842565ecbf32da0 Mon Sep 17 00:00:00 2001 |
| From: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> |
| Date: Fri, 3 Jul 2020 20:05:07 +0300 |
| Subject: [PATCH] clk: actions: Fix h_clk for Actions S500 SoC |
| |
| commit f47ee279d25fb0e010cae5d6e758e39b40eb6378 upstream. |
| |
| The h_clk clock in the Actions Semi S500 SoC clock driver has an |
| invalid parent. Replace with the correct one. |
| |
| Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") |
| Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com> |
| Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> |
| Link: https://lore.kernel.org/r/c57e7ebabfa970014f073b92fe95b47d3e5a70b1.1593788312.git.cristian.ciocaltea@gmail.com |
| Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/clk/actions/owl-s500.c b/drivers/clk/actions/owl-s500.c |
| index e2007ac4d235..0eb83a0b70bc 100644 |
| --- a/drivers/clk/actions/owl-s500.c |
| +++ b/drivers/clk/actions/owl-s500.c |
| @@ -183,7 +183,7 @@ static OWL_GATE(timer_clk, "timer_clk", "hosc", CMU_DEVCLKEN1, 27, 0, 0); |
| static OWL_GATE(hdmi_clk, "hdmi_clk", "hosc", CMU_DEVCLKEN1, 3, 0, 0); |
| |
| /* divider clocks */ |
| -static OWL_DIVIDER(h_clk, "h_clk", "ahbprevdiv_clk", CMU_BUSCLK1, 12, 2, NULL, 0, 0); |
| +static OWL_DIVIDER(h_clk, "h_clk", "ahbprediv_clk", CMU_BUSCLK1, 12, 2, NULL, 0, 0); |
| static OWL_DIVIDER(rmii_ref_clk, "rmii_ref_clk", "ethernet_pll_clk", CMU_ETHERNETPLL, 1, 1, rmii_ref_div_table, 0, 0); |
| |
| /* factor clocks */ |
| -- |
| 2.27.0 |
| |