summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/qcom_sysmon.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-04-03 20:50:04 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-10 11:31:25 +0300
commita09ba140db2f3b79916719865260183628ef8583 (patch)
treea019bfc1162a730d6f6792c676d2589dd0001320 /drivers/remoteproc/qcom_sysmon.c
parentb2978c307696d85f295cc1aea00fb1ea2636c8f3 (diff)
downloadlinux-a09ba140db2f3b79916719865260183628ef8583.tar.xz
remoteproc: qcom_q6v5_mss: fix a bug in q6v5_probe()
[ Upstream commit 13c060b50a341dd60303e5264d12108b5747f200 ] 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: Alex Elder <elder@linaro.org> Link: https://lore.kernel.org/r/20200403175005.17130-3-elder@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/remoteproc/qcom_sysmon.c')
0 files changed, 0 insertions, 0 deletions