ARM: tegra: powergate: suppress unwanted info
Bibek Basu [Mon, 14 Apr 2014 11:43:50 +0000 (16:43 +0530)]
is_powered is a check and it should not throw
wrong information that powergating is not supported
for this SOC

Bug 1499524

Change-Id: Id2f0ff0d295d49b952fba571b17639723bbdec65
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/395835
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

arch/arm/mach-tegra/powergate.c

index 3444f36..2778e8c 100644 (file)
@@ -2,7 +2,7 @@
  * arch/arm/mach-tegra/powergate.c
  *
  * Copyright (c) 2010 Google, Inc
- * Copyright (c) 2011 - 2013, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2011 - 2014, NVIDIA CORPORATION.  All rights reserved.
  *
  * Author:
  *     Colin Cross <ccross@google.com>
@@ -382,7 +382,7 @@ bool tegra_powergate_is_powered(int id)
        u32 status;
 
        if (!pg_ops) {
-               pr_info("This SOC doesn't support powergating\n");
+               pr_debug("This SOC doesn't support powergating\n");
                return -EINVAL;
        }