Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 13c060b5 authored by Alex Elder's avatar Alex Elder Committed by Bjorn Andersson
Browse files

remoteproc: qcom_q6v5_mss: fix a bug in q6v5_probe()


If looking up the DT "firmware-name" property fails in q6v6_probe(),
the function returns without freeing the remoteproc structure
that has been allocated.  Fix this by jumping to the free_rproc
label, which takes care of this.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20200403175005.17130-3-elder@linaro.org


Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 8f3d9f35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment