diff options
author | Sivaram Nair <sivaramn@nvidia.com> | 2012-11-21 06:42:27 -0500 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-26 15:44:04 -0500 |
commit | 6e25e1b178ee3caf34f229bacfad5ae6780bcec6 (patch) | |
tree | 709c65d59ad18fdd76da67a2a3e45b0e69199e28 /arch/arm/mach-tegra | |
parent | 6eb583da959cf751eb951cc5ff488dd4e41f1b2f (diff) |
ARM: tegra: fix comment in dsib clk set_parent
Since the clk framework has already taken necessary locks before calling
into the arch clk ops code, no further locks are needed while setting
the parent of dsib clk. This patch removes a comment that indicated
otherwise, and yet did not take any locks.
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/tegra30_clocks.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/tegra30_clocks.c b/arch/arm/mach-tegra/tegra30_clocks.c index e9de5dfd94ec..c2102a312bc5 100644 --- a/arch/arm/mach-tegra/tegra30_clocks.c +++ b/arch/arm/mach-tegra/tegra30_clocks.c | |||
@@ -1913,9 +1913,7 @@ struct clk_ops tegra30_periph_clk_ops = { | |||
1913 | static int tegra30_dsib_clk_set_parent(struct clk_hw *hw, u8 index) | 1913 | static int tegra30_dsib_clk_set_parent(struct clk_hw *hw, u8 index) |
1914 | { | 1914 | { |
1915 | struct clk *d = clk_get_sys(NULL, "pll_d"); | 1915 | struct clk *d = clk_get_sys(NULL, "pll_d"); |
1916 | /* The DSIB parent selection bit is in PLLD base | 1916 | /* The DSIB parent selection bit is in PLLD base register */ |
1917 | register - can not do direct r-m-w, must be | ||
1918 | protected by PLLD lock */ | ||
1919 | tegra_clk_cfg_ex( | 1917 | tegra_clk_cfg_ex( |
1920 | d, TEGRA_CLK_PLLD_MIPI_MUX_SEL, index); | 1918 | d, TEGRA_CLK_PLLD_MIPI_MUX_SEL, index); |
1921 | 1919 | ||