commit | 72beb49070463147e29d4aea6aca9ec5684138e9 | [log] [tgz] |
---|---|---|
author | Bjorn Andersson <bjorn.andersson@linaro.org> | Tue Jul 12 17:15:45 2016 -0700 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Thu Jul 14 20:11:36 2016 -0700 |
tree | e3f846346a794ab268a9c16415411f0be5dd16ec | |
parent | b1653f23ea464b60445ee0d7cf569b3ed6fa3f0b [diff] |
remoteproc: qcom: hexagon: Clean up mpss validation As reported by Dan the unsigned "val" can't be negative. But instead correcting the check for early errors here followed by a wait for the validation result to show the error or success we can consolidate these two parts of the validation process into the validation function. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>