* [PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe()
@ 2017-02-03 0:04 Sarangdhar Joshi
2017-02-06 20:46 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Sarangdhar Joshi @ 2017-02-03 0:04 UTC (permalink / raw)
To: Ohad Ben-Cohen, Bjorn Andersson, Andy Gross
Cc: Sarangdhar Joshi, linux-remoteproc, linux-kernel, linux-arm-msm,
Stephen Boyd, Trilok Soni
SCM call to check whether Peripheral Authentication Service (PAS)
is supported returns false for ADSP. Drop this call from the driver
so that the probe() function succeeds for ADSP PIL device.
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
---
drivers/remoteproc/qcom_adsp_pil.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/remoteproc/qcom_adsp_pil.c b/drivers/remoteproc/qcom_adsp_pil.c
index 43a4ed2..94cd4b8 100644
--- a/drivers/remoteproc/qcom_adsp_pil.c
+++ b/drivers/remoteproc/qcom_adsp_pil.c
@@ -318,11 +318,6 @@ static int adsp_probe(struct platform_device *pdev)
if (!qcom_scm_is_available())
return -EPROBE_DEFER;
- if (!qcom_scm_pas_supported(ADSP_PAS_ID)) {
- dev_err(&pdev->dev, "PAS is not available for ADSP\n");
- return -ENXIO;
- }
-
rproc = rproc_alloc(&pdev->dev, pdev->name, &adsp_ops,
ADSP_FIRMWARE_NAME, sizeof(*adsp));
if (!rproc) {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe()
2017-02-03 0:04 [PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() Sarangdhar Joshi
@ 2017-02-06 20:46 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2017-02-06 20:46 UTC (permalink / raw)
To: Sarangdhar Joshi
Cc: Ohad Ben-Cohen, Andy Gross, linux-remoteproc, linux-kernel,
linux-arm-msm, Stephen Boyd, Trilok Soni
On Thu 02 Feb 16:04 PST 2017, Sarangdhar Joshi wrote:
> SCM call to check whether Peripheral Authentication Service (PAS)
> is supported returns false for ADSP. Drop this call from the driver
> so that the probe() function succeeds for ADSP PIL device.
>
Applied, thanks
Regards,
Bjorn
> Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
> ---
> drivers/remoteproc/qcom_adsp_pil.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/remoteproc/qcom_adsp_pil.c b/drivers/remoteproc/qcom_adsp_pil.c
> index 43a4ed2..94cd4b8 100644
> --- a/drivers/remoteproc/qcom_adsp_pil.c
> +++ b/drivers/remoteproc/qcom_adsp_pil.c
> @@ -318,11 +318,6 @@ static int adsp_probe(struct platform_device *pdev)
> if (!qcom_scm_is_available())
> return -EPROBE_DEFER;
>
> - if (!qcom_scm_pas_supported(ADSP_PAS_ID)) {
> - dev_err(&pdev->dev, "PAS is not available for ADSP\n");
> - return -ENXIO;
> - }
> -
> rproc = rproc_alloc(&pdev->dev, pdev->name, &adsp_ops,
> ADSP_FIRMWARE_NAME, sizeof(*adsp));
> if (!rproc) {
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-07 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 0:04 [PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() Sarangdhar Joshi
2017-02-06 20:46 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).