Skip to content

Commit

Permalink
ARM: tegra: add tegra_timer clock
Browse files Browse the repository at this point in the history
This undoes commit 20f4665 "ARM: tegra: remove tegra_timer from
tegra_list_clks" by bringing back the tegra_timer clock. tegra_timer is
indeed a clock (hidden by the PERIPH_CLK macro) which should be added
to the tegra_list_clks.

The above commit caused tegra_init_timer() failing to get the clk
reference.

Signed-off-by: Sivaram Nair <[email protected]>
[swarren: added the reverted commit's subject to this patch description]
Signed-off-by: Stephen Warren <[email protected]>
  • Loading branch information
Sivaram Nair authored and nvswarren committed Oct 16, 2012
1 parent f2ef412 commit bf88ef8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra20_clocks_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,7 @@ PERIPH_CLK(pcie_xclk, NULL, "pcie_xclk", 74, 0, 26000000, mux_clk_m,
static struct clk *tegra_list_clks[] = {
&tegra_apbdma,
&tegra_rtc,
&tegra_timer,
&tegra_i2s1,
&tegra_i2s2,
&tegra_spdif_out,
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-tegra/tegra30_clocks_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ struct clk *tegra_list_clks[] = {
&tegra_apbdma,
&tegra_rtc,
&tegra_kbc,
&tegra_timer,
&tegra_kfuse,
&tegra_fuse,
&tegra_fuse_burn,
Expand Down

0 comments on commit bf88ef8

Please sign in to comment.