aboutsummaryrefslogtreecommitdiffstats
path: root/patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch')
-rw-r--r--patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch b/patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch
new file mode 100644
index 00000000000000..59ba76998aaffd
--- /dev/null
+++ b/patches/1633-clk-socfpga-stratix10-fix-the-sdmmc_free_clk-mux.patch
@@ -0,0 +1,31 @@
+From bc0bd3a30674966263b9dbb5b0dcd1bc0b3415b2 Mon Sep 17 00:00:00 2001
+From: Dinh Nguyen <dinguyen@kernel.org>
+Date: Tue, 26 Jun 2018 08:28:10 -0500
+Subject: [PATCH 1633/1795] clk: socfpga: stratix10: fix the sdmmc_free_clk mux
+
+The first parent of the sdmmc_free_clk should be the main_sdmmc_clk.
+
+Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
+Signed-off-by: Stephen Boyd <sboyd@kernel.org>
+(cherry picked from commit 51b9a379a843c288b07b501784a5cc52b2c5aa69)
+Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
+---
+ 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 a15769f9985b..5b238fc314ac 100644
+--- a/drivers/clk/socfpga/clk-s10.c
++++ b/drivers/clk/socfpga/clk-s10.c
+@@ -28,7 +28,7 @@ static const char * const emaca_free_mux[] = {"peri_emaca_clk", "boot_clk"};
+ static const char * const emacb_free_mux[] = {"peri_emacb_clk", "boot_clk"};
+ static const char * const emac_ptp_free_mux[] = {"peri_emac_ptp_clk", "boot_clk"};
+ static const char * const gpio_db_free_mux[] = {"peri_gpio_db_clk", "boot_clk"};
+-static const char * const sdmmc_free_mux[] = {"peri_sdmmc_clk", "boot_clk"};
++static const char * const sdmmc_free_mux[] = {"main_sdmmc_clk", "boot_clk"};
+ static const char * const s2f_usr1_free_mux[] = {"peri_s2f_usr1_clk", "boot_clk"};
+ static const char * const psi_ref_free_mux[] = {"peri_psi_ref_clk", "boot_clk"};
+ static const char * const mpu_mux[] = { "mpu_free_clk", "boot_clk",};
+--
+2.19.0
+