linux-msm / qdl

BSD 3-Clause "New" or "Revised" License
196 stars 76 forks source link

sahara_run: properly propagate error #1

Closed ndechesne closed 5 years ago

ndechesne commented 5 years ago

We should return in case we haven't reached the end of the Sahara init, which is when we set done to true. If done is not set to true before returning from sahara_run() , it means something went wrong.

Signed-off-by: Nicolas Dechesne nicolas.dechesne@linaro.org