Skip to content

Commit

Permalink
clk: sprd: Fix thm_parents incorrect configuration
Browse files Browse the repository at this point in the history
[ Upstream commit b7b20cf ]

The thm*_clk have two clock sources 32k and 250k,excluding 32m.

Fixes: af3bd36 ("clk: sprd: Add clocks support for UMS512")
Signed-off-by: Zhifeng Tang <zhifeng.tang@unisoc.com>
Acked-by: Chunyan Zhang <zhang.lyra@gmail.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230824092624.20020-1-zhifeng.tang@unisoc.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Zhifeng Tang authored and gregkh committed Oct 6, 2023
1 parent 1ea6975 commit efad31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/sprd/ums512-clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ static SPRD_MUX_CLK_DATA(uart1_clk, "uart1-clk", uart_parents,
0x250, 0, 3, UMS512_MUX_FLAG);

static const struct clk_parent_data thm_parents[] = {
{ .fw_name = "ext-32m" },
{ .fw_name = "ext-32k" },
{ .hw = &clk_250k.hw },
};
static SPRD_MUX_CLK_DATA(thm0_clk, "thm0-clk", thm_parents,
Expand Down

0 comments on commit efad31b

Please sign in to comment.