提交 b4c25cc3 编写于 作者: H Hiroshi Doyu 提交者: Stephen Warren

ARM: tegra: Fix unchecked return value

Check a return value for tegra_powergate_remove_clamping().
Signed-off-by: NHiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: NJoseph Lo <josephl@nvidia.com>
Signed-off-by: NStephen Warren <swarren@nvidia.com>
上级 b095ae2b
...@@ -124,6 +124,9 @@ static int tegra30_power_up_cpu(unsigned int cpu) ...@@ -124,6 +124,9 @@ static int tegra30_power_up_cpu(unsigned int cpu)
/* Remove I/O clamps. */ /* Remove I/O clamps. */
ret = tegra_powergate_remove_clamping(pwrgateid); ret = tegra_powergate_remove_clamping(pwrgateid);
if (ret)
return ret;
udelay(10); udelay(10);
/* Clear flow controller CSR. */ /* Clear flow controller CSR. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册