aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2016-04-19 18:44:11 -0700
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2016-07-19 18:10:11 +0100
commit78402fc8b4b5e7a4f822a3ae2d4ad57f795afe09 (patch)
treec1e2a249a0c89782eb9605161c7f7d70a0fce62d
parentab737c06a88d2601f96e8803b3c5540d936e75f4 (diff)
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 <bjorn.andersson@linaro.org>
-rw-r--r--drivers/remoteproc/qcom_tz_pil.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/remoteproc/qcom_tz_pil.c b/drivers/remoteproc/qcom_tz_pil.c
index ae361fc26dd10..6de08442f57f7 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;