projects/linux·commit 79a2e998

clk: socfpga: Fix incorrect sdmmc clock name

79a2e998 · Dinh Nguyen <[email protected]> · 2013-09-17 11:23:05 -05:00

The SD/MMC clock is named "sdmmc_clk", and NOT "mmc_clk". Because of this,
the SD driver was getting the incorrect clock value. This prevented the
SD driver from initializing correctly.

Signed-off-by: Dinh Nguyen <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Olof Johansson <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Cc: [email protected]
Signed-off-by: Mike Turquette <[email protected]>
Commit
79a2e998895ae3e75d6d3d9fdeec2be94bfcf6c8
Parents
1022c75f

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/clk/socfpga/clk.cmodified+1−1View file

drivers/clk/socfpga/clk.c

View file
diff --git a/drivers/clk/socfpga/clk.c b/drivers/clk/socfpga/clk.c
index 5bb848c..81dd31a 100644
--- a/drivers/clk/socfpga/clk.c
+++ b/drivers/clk/socfpga/clk.c
@@ -49,7 +49,7 @@
#define SOCFPGA_L4_SP_CLK "l4_sp_clk"
#define SOCFPGA_NAND_CLK "nand_clk"
#define SOCFPGA_NAND_X_CLK "nand_x_clk"
-#define SOCFPGA_MMC_CLK "mmc_clk"
+#define SOCFPGA_MMC_CLK "sdmmc_clk"
#define SOCFPGA_DB_CLK "gpio_db_clk"
#define div_mask(width) ((1 << (width)) - 1)