diff mbox

remoteproc: Drop qcom_scm_pas_supported() from adsp_probe()

Message ID 1486080277-17055-1-git-send-email-spjoshi@codeaurora.org (mailing list archive)
State Accepted
Headers show

Commit Message

Sarangdhar Joshi Feb. 3, 2017, 12:04 a.m. UTC
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(-)

Comments

Bjorn Andersson Feb. 6, 2017, 8:46 p.m. UTC | #1
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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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) {