clk: tegra: fix clk_out parents list
Subsystems (3)
Prashant Gaikwad
maintainerPATCH 1/1 clk: tegra: fix clk_out parents list
Number of parents for clk_out_2 and clk_out_3 was incorrectly set to clk_out1_parents. Even though it did not break anything since the size was same better to fix.
--- drivers/clk/tegra/clk-tegra114.c | 4 ++-- drivers/clk/tegra/clk-tegra30.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/clk/tegra/clk-tegra114.c +2 -2
@@ -1602,7 +1602,7 @@ static void __init tegra114_pmc_clk_init(void __iomem *pmc_base)/* clk_out_2 */ clk =clk_register_mux (NULL ,"clk_out_2_mux" , clk_out2_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out2_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,14 ,3 ,0 , &clk_out_lock); clks[clk_out_2_mux] = clk;
@@ -1614,7 +1614,7 @@ static void __init tegra114_pmc_clk_init(void __iomem *pmc_base)/* clk_out_3 */ clk =clk_register_mux (NULL ,"clk_out_3_mux" , clk_out3_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out3_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,22 ,3 ,0 , &clk_out_lock); clks[clk_out_3_mux] = clk;
drivers/clk/tegra/clk-tegra30.c +2 -2
@@ -1223,7 +1223,7 @@ static void __init tegra30_pmc_clk_init(void)/* clk_out_2 */ clk =clk_register_mux (NULL ,"clk_out_2_mux" , clk_out2_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out2_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,14 ,3 ,0 , &clk_out_lock); clk = clk_register_gate(NULL, "clk_out_2", "clk_out_2_mux", 0,
@@ -1234,7 +1234,7 @@ static void __init tegra30_pmc_clk_init(void)/* clk_out_3 */ clk =clk_register_mux (NULL ,"clk_out_3_mux" , clk_out3_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out3_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,22 ,3 ,0 , &clk_out_lock); clk = clk_register_gate(NULL, "clk_out_3", "clk_out_3_mux", 0,
Signature · 1 line
1.7.4.1
PATCH 1/1 clk: tegra: fix clk_out parents list
Quoted 3 lines · Prashant Gaikwad
Number of parents for
clk_out_2andclk_out_3was incorrectly set toclk_out1_parents. Even though it did not break anything since the size was same better to fix.
This last part of the sentence is hard to understand, I think you meant:
Even though it did not break anything since the size was the same, it should still be fixed.
Other than that:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130527/7121415c/attachment.sig>
PATCH 1/1 clk: tegra: fix clk_out parents list
In reply to Prashant GaikwadQuoted 3 lines · Prashant Gaikwad
Number of parents for
clk_out_2andclk_out_3was incorrectly set toclk_out1_parents. Even though it did not break anything since the size was same better to fix.
PATCH 1/1 clk: tegra: fix clk_out parents list
In reply to Prashant GaikwadQuoting Prashant Gaikwad (2013-05-27 00:54:39)
Quoted 5 lines
Number of parents for
clk_out_2andclk_out_3was incorrectly set toclk_out1_parents. Even though it did not break anything since the size was same better to fix.Signed-off-by Prashant Gaikwad <[email protected]>
Taken into clk-next since this fix doesn't appear to fix anything.
Thanks,
Mike
Quoted 51 lines
--- drivers/clk/tegra/clk-tegra114.c | 4 ++-- drivers/clk/tegra/clk-tegra30.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)drivers/clk/tegra/clk-tegra114.c +2
-2@@ -1602,7 +1602,7 @@ static void __init tegra114_pmc_clk_init(void __iomem *pmc_base)/* clk_out_2 */ clk =clk_register_mux (NULL ,"clk_out_2_mux" , clk_out2_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out2_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,14 ,3 ,0 , &clk_out_lock); clks[clk_out_2_mux] = clk;@@ -1614,7 +1614,7 @@ static void __init tegra114_pmc_clk_init(void __iomem *pmc_base)/* clk_out_3 */ clk =clk_register_mux (NULL ,"clk_out_3_mux" , clk_out3_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out3_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,22 ,3 ,0 , &clk_out_lock); clks[clk_out_3_mux] = clk;drivers/clk/tegra/clk-tegra30.c +2
-2@@ -1223,7 +1223,7 @@ static void __init tegra30_pmc_clk_init(void)/* clk_out_2 */ clk =clk_register_mux (NULL ,"clk_out_2_mux" , clk_out2_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out2_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,14 ,3 ,0 , &clk_out_lock); clk = clk_register_gate(NULL, "clk_out_2", "clk_out_2_mux", 0,@@ -1234,7 +1234,7 @@ static void __init tegra30_pmc_clk_init(void)/* clk_out_3 */ clk =clk_register_mux (NULL ,"clk_out_3_mux" , clk_out3_parents, -ARRAY_SIZE (clk_out1_parents),0 , +ARRAY_SIZE (clk_out3_parents),0 , pmc_base +PMC_CLK_OUT_CNTRL ,22 ,3 ,0 , &clk_out_lock); clk = clk_register_gate(NULL, "clk_out_3", "clk_out_3_mux", 0,Signature · 1 line
1.7.4.1