projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b095ae2
)
ARM: tegra: Fix unchecked return value
author
Hiroshi Doyu
<hdoyu@nvidia.com>
Fri, 22 Feb 2013 06:24:25 +0000
(14:24 +0800)
committer
Stephen Warren
<swarren@nvidia.com>
Mon, 11 Mar 2013 20:29:22 +0000
(14:29 -0600)
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>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/platsmp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/platsmp.c
b/arch/arm/mach-tegra/platsmp.c
index
2c6b3d5
..
4dfc75e
100644
(file)
--- 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. */