linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: tegra: Fix unchecked return value
@ 2013-02-22  6:24 Joseph Lo
  2013-02-22  6:24 ` [PATCH 2/3] ARM: tegra30: fix the logical detection of power on sequence of warm boot CPUs Joseph Lo
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Joseph Lo @ 2013-02-22  6:24 UTC (permalink / raw)
  To: linux-arm-kernel

From: Hiroshi Doyu <hdoyu@nvidia.com>

Check a return value for tegra_powergate_remove_clamping().

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Joseph Lo <josephl@nvidia.com>
---
 arch/arm/mach-tegra/platsmp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c
index 2c6b3d5..4dfc75e 100644
--- a/arch/arm/mach-tegra/platsmp.c
+++ b/arch/arm/mach-tegra/platsmp.c
@@ -124,6 +124,9 @@ remove_clamps:
 
 	/* Remove I/O clamps. */
 	ret = tegra_powergate_remove_clamping(pwrgateid);
+	if (ret)
+		return ret;
+
 	udelay(10);
 
 	/* Clear flow controller CSR. */
-- 
1.8.1.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-06 21:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-22  6:24 [PATCH 1/3] ARM: tegra: Fix unchecked return value Joseph Lo
2013-02-22  6:24 ` [PATCH 2/3] ARM: tegra30: fix the logical detection of power on sequence of warm boot CPUs Joseph Lo
2013-02-22  6:24 ` [PATCH 3/3] ARM: tegra: refactor tegra{20,30}_boot_secondary Joseph Lo
2013-02-22 18:28   ` Stephen Warren
2013-02-23  4:06     ` Joseph Lo
2013-02-23  4:33       ` Stephen Warren
2013-03-06 21:29 ` [PATCH 1/3] ARM: tegra: Fix unchecked return value Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).