summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-07-28 12:54:35 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-08-01 17:17:30 -0700
commit933d572ad722c5d4f3085f84442b6ad5a60a3268 (patch)
treed7945ea303bf852176fffb2d2195d8bbb27d8516 /arch/arm/mach-tegra
parentb07d1abc4e622037bec0df55db7e5357b35f335d (diff)
ARM: tegra: clock: Replace Tegra3 main clock disable bug with warning
On attempt to disable Tegra3 main clock generate WARN() rather than BUG(). Clock is not actually disabled in any case. Bug 853986 Change-Id: I5bae24141f49beb02e50f7db37184ea80d526a28 Reviewed-on: http://git-master/r/43758 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r--arch/arm/mach-tegra/tegra3_clocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra3_clocks.c b/arch/arm/mach-tegra/tegra3_clocks.c
index 5775b34319c7..366dec405ed1 100644
--- a/arch/arm/mach-tegra/tegra3_clocks.c
+++ b/arch/arm/mach-tegra/tegra3_clocks.c
@@ -511,7 +511,7 @@ static int tegra3_clk_m_enable(struct clk *c)
static void tegra3_clk_m_disable(struct clk *c)
{
pr_debug("%s on clock %s\n", __func__, c->name);
- BUG();
+ WARN(1, "Attempting to disable main SoC clock\n");
}
static struct clk_ops tegra_clk_m_ops = {