diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-04-19 18:44:11 -0700 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2016-06-21 11:02:07 +0300 |
commit | 3aade4d3defc42ff0666e49b9c710c8816f870a4 (patch) | |
tree | 01be5b71e981f1b31c9b003f907e14ec7e2f6a6a | |
parent | 76dc6ee5c3f0ae278b7ed78840ecbc1ff3f3fe49 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |