Skip to content

Commit 9d61707

Browse files
Jim LinMike Turquette
authored andcommitted
clk: tegra: Fix xusb_fs_src mux
The parent-to-index mapping for xusb_fs_src is incorrect. Fix it by adding a mux table. Signed-off-by: Jim Lin <jilin@nvidia.com> Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
1 parent 2cfe167 commit 9d61707

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎drivers/clk/tegra/clk-tegra-periph.c‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ static u32 mux_clkm_pllp_pllc_pllre_idx[] = {
329329
static const char *mux_clkm_48M_pllp_480M[] = {
330330
"clk_m", "pll_u_48M", "pll_p", "pll_u_480M"
331331
};
332-
#define mux_clkm_48M_pllp_480M_idx NULL
332+
static u32 mux_clkm_48M_pllp_480M_idx[] = {
333+
[0] = 0, [1] = 2, [2] = 4, [3] = 6,
334+
};
333335

334336
static const char *mux_clkm_pllre_clk32_480M_pllc_ref[] = {
335337
"clk_m", "pll_re_out", "clk_32k", "pll_u_480M", "pll_c", "pll_ref"

0 commit comments

Comments
 (0)