From: Bjorn Andersson Date: Wed, 20 Apr 2016 01:44:11 +0000 (-0700) Subject: remoteproc: qcom-tz: Use new PAS api X-Git-Tag: KARO-TXSD-2017-03-24~32^2~48 X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-linux.git;a=commitdiff_plain;h=3aade4d3defc42ff0666e49b9c710c8816f870a4 remoteproc: qcom-tz: Use new PAS api The PAS api should not carry the clients device handle, as the metadata allocated should be tied to the scm platform_device. Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_tz_pil.c b/drivers/remoteproc/qcom_tz_pil.c index ae361fc26dd1..6de08442f57f 100644 --- a/drivers/remoteproc/qcom_tz_pil.c +++ b/drivers/remoteproc/qcom_tz_pil.c @@ -276,8 +276,7 @@ static int qproc_load(struct rproc *rproc, const struct firmware *fw) max_addr = round_up(phdr->p_paddr + phdr->p_memsz, SZ_4K); } - ret = qcom_scm_pas_init_image(qproc->dev, - qproc->pas_id, fw->data, fw->size); + ret = qcom_scm_pas_init_image(qproc->pas_id, fw->data, fw->size); if (ret) { dev_err(qproc->dev, "Invalid firmware metadata\n"); return -EINVAL;