Skip to content
Commit 8d2f9e8e authored by Julia Lawall's avatar Julia Lawall Committed by Tero Kristo
Browse files

clk: ti: dra7: return error code in failure case



Add a returned error code in the MAX_APLL_WAIT_TRIES case.  Remove the
updating of the return variable r to 0 if MAX_APLL_WAIT_TRIES is not yet
reached, because r is already 0 at this point.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
parent 6c7ee890
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment