From: Sarangdhar Joshi Date: Fri, 3 Feb 2017 00:04:37 +0000 (-0800) Subject: remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=66a66aa74ee262f03432f84de55ae314c391d9f5;p=linux.git remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() SCM call to check whether Peripheral Authentication Service (PAS) is supported returns false for ADSP on MSM8996. Drop this call from the driver so that the probe() function succeeds for ADSP PIL device. Signed-off-by: Sarangdhar Joshi Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_adsp_pil.c b/drivers/remoteproc/qcom_adsp_pil.c index f1b147c96d442..49fe2f807e1d9 100644 --- a/drivers/remoteproc/qcom_adsp_pil.c +++ b/drivers/remoteproc/qcom_adsp_pil.c @@ -337,11 +337,6 @@ static int adsp_probe(struct platform_device *pdev) if (!qcom_scm_is_available()) return -EPROBE_DEFER; - if (!qcom_scm_pas_supported(desc->pas_id)) { - dev_err(&pdev->dev, "PAS is not available for subsystem\n"); - return -ENXIO; - } - rproc = rproc_alloc(&pdev->dev, pdev->name, &adsp_ops, desc->firmware_name, sizeof(*adsp)); if (!rproc) {