Skip to content

Commit

Permalink
ARM: tegra: Fix unchecked return value
Browse files Browse the repository at this point in the history
Check a return value for tegra_powergate_remove_clamping().

Signed-off-by: Hiroshi Doyu <[email protected]>
Signed-off-by: Joseph Lo <[email protected]>
Signed-off-by: Stephen Warren <[email protected]>
  • Loading branch information
hdoyu authored and nvswarren committed Mar 11, 2013
1 parent b095ae2 commit b4c25cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-tegra/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ static int tegra30_power_up_cpu(unsigned int cpu)

/* Remove I/O clamps. */
ret = tegra_powergate_remove_clamping(pwrgateid);
if (ret)
return ret;

udelay(10);

/* Clear flow controller CSR. */
Expand Down

0 comments on commit b4c25cc

Please sign in to comment.