Skip to content

Commit 46fb5dd

Browse files
claudiubezneageertu
authored andcommitted
clk: renesas: r9a07g04[34]: Fix typo for sel_shdi variable
Fix typo for sel_shdi variable. Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 9b2a11c commit 46fb5dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

drivers/clk/renesas/r9a07g043-cpg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static const struct clk_div_table dtable_1_32[] = {
8888
/* Mux clock tables */
8989
static const char * const sel_pll3_3[] = { ".pll3_533", ".pll3_400" };
9090
static const char * const sel_pll6_2[] = { ".pll6_250", ".pll5_250" };
91-
static const char * const sel_shdi[] = { ".clk_533", ".clk_400", ".clk_266" };
91+
static const char * const sel_sdhi[] = { ".clk_533", ".clk_400", ".clk_266" };
9292

9393
static const u32 mtable_sdhi[] = { 1, 2, 3 };
9494

@@ -137,9 +137,9 @@ static const struct cpg_core_clk r9a07g043_core_clks[] __initconst = {
137137
DEF_MUX("HP", R9A07G043_CLK_HP, SEL_PLL6_2, sel_pll6_2),
138138
DEF_FIXED("SPI0", R9A07G043_CLK_SPI0, CLK_DIV_PLL3_C, 1, 2),
139139
DEF_FIXED("SPI1", R9A07G043_CLK_SPI1, CLK_DIV_PLL3_C, 1, 4),
140-
DEF_SD_MUX("SD0", R9A07G043_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_shdi,
140+
DEF_SD_MUX("SD0", R9A07G043_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_sdhi,
141141
mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier),
142-
DEF_SD_MUX("SD1", R9A07G043_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_shdi,
142+
DEF_SD_MUX("SD1", R9A07G043_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_sdhi,
143143
mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier),
144144
DEF_FIXED("SD0_DIV4", CLK_SD0_DIV4, R9A07G043_CLK_SD0, 1, 4),
145145
DEF_FIXED("SD1_DIV4", CLK_SD1_DIV4, R9A07G043_CLK_SD1, 1, 4),

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static const struct clk_div_table dtable_16_128[] = {
106106
static const char * const sel_pll3_3[] = { ".pll3_533", ".pll3_400" };
107107
static const char * const sel_pll5_4[] = { ".pll5_foutpostdiv", ".pll5_fout1ph0" };
108108
static const char * const sel_pll6_2[] = { ".pll6_250", ".pll5_250" };
109-
static const char * const sel_shdi[] = { ".clk_533", ".clk_400", ".clk_266" };
109+
static const char * const sel_sdhi[] = { ".clk_533", ".clk_400", ".clk_266" };
110110
static const char * const sel_gpu2[] = { ".pll6", ".pll3_div2_2" };
111111

112112
static const u32 mtable_sdhi[] = { 1, 2, 3 };
@@ -176,9 +176,9 @@ static const struct {
176176
DEF_MUX("HP", R9A07G044_CLK_HP, SEL_PLL6_2, sel_pll6_2),
177177
DEF_FIXED("SPI0", R9A07G044_CLK_SPI0, CLK_DIV_PLL3_C, 1, 2),
178178
DEF_FIXED("SPI1", R9A07G044_CLK_SPI1, CLK_DIV_PLL3_C, 1, 4),
179-
DEF_SD_MUX("SD0", R9A07G044_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_shdi,
179+
DEF_SD_MUX("SD0", R9A07G044_CLK_SD0, SEL_SDHI0, SEL_SDHI0_STS, sel_sdhi,
180180
mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier),
181-
DEF_SD_MUX("SD1", R9A07G044_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_shdi,
181+
DEF_SD_MUX("SD1", R9A07G044_CLK_SD1, SEL_SDHI1, SEL_SDHI1_STS, sel_sdhi,
182182
mtable_sdhi, 0, rzg2l_cpg_sd_clk_mux_notifier),
183183
DEF_FIXED("SD0_DIV4", CLK_SD0_DIV4, R9A07G044_CLK_SD0, 1, 4),
184184
DEF_FIXED("SD1_DIV4", CLK_SD1_DIV4, R9A07G044_CLK_SD1, 1, 4),

0 commit comments

Comments
 (0)