mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 04:17:47 +00:00
ARM: tegra: Fix unchecked return value
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>
This commit is contained in:
parent
b095ae2b9f
commit
b4c25cc382
@ -124,6 +124,9 @@ remove_clamps:
|
|||||||
|
|
||||||
/* 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. */
|
||||||
|
Loading…
Reference in New Issue
Block a user