aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/tegra/clk-tegra30.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-11-05 19:33:17 -0500
committerStephen Warren <swarren@nvidia.com>2013-12-11 18:42:48 -0500
commit6d5b988e7dc56bb97c39bdcbc006fadcd6ca371b (patch)
tree4d5b526c30909e2b6ab88a5048fdcdffa56a48e9 /drivers/clk/tegra/clk-tegra30.c
parente04214683aca5cf7bbb53ee9d16373a8dbfa4259 (diff)
clk: tegra: implement a reset driver
The Tegra CAR module implements both a clock and reset controller. So far, the driver exposes the clock feature via the common clock API and the reset feature using a custom API. This patch adds an implementation of the common reset framework API (include/linux/reset*.h). The legacy reset implementation will be removed once all drivers have been converted. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-tegra30.c')
-rw-r--r--drivers/clk/tegra/clk-tegra30.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c
index dcb6843b3a89..2e47383418c8 100644
--- a/drivers/clk/tegra/clk-tegra30.c
+++ b/drivers/clk/tegra/clk-tegra30.c
@@ -1427,7 +1427,8 @@ static void __init tegra30_clock_init(struct device_node *np)
1427 BUG(); 1427 BUG();
1428 } 1428 }
1429 1429
1430 clks = tegra_clk_init(TEGRA30_CLK_CLK_MAX, TEGRA30_CLK_PERIPH_BANKS); 1430 clks = tegra_clk_init(clk_base, TEGRA30_CLK_CLK_MAX,
1431 TEGRA30_CLK_PERIPH_BANKS);
1431 if (!clks) 1432 if (!clks)
1432 return; 1433 return;
1433 1434