From patchwork Fri Feb 3 00:04:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarangdhar Joshi X-Patchwork-Id: 9553369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EEB6E60424 for ; Fri, 3 Feb 2017 00:05:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E116C28422 for ; Fri, 3 Feb 2017 00:05:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3AAE284D2; Fri, 3 Feb 2017 00:05:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6287128422 for ; Fri, 3 Feb 2017 00:05:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751565AbdBCAEw (ORCPT ); Thu, 2 Feb 2017 19:04:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:37624 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbdBCAEu (ORCPT ); Thu, 2 Feb 2017 19:04:50 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0E50360A80; Fri, 3 Feb 2017 00:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1486080290; bh=DBOuUH4iciEfC1Kfh7N2XbEPPiumG+J77Xw0SGI48As=; h=From:To:Cc:Subject:Date:From; b=O1TOhGhUqLDNQc01t8riDnQaKrnpq+AnhXr8mJkKSMknWK4lo03aqAokzOiTi1Rp9 pBoyLNV/ztrxaNhwEj/26e56H/D/ri2KL+3bl+0j1/86HwI+JQHj2huh8vsH4dTKeW dHtfeKQW2TKD89FKHS/n1wWfJC0bGlMtIN6WfocQ= Received: from spjoshi-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: spjoshi@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 655D260A62; Fri, 3 Feb 2017 00:04:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1486080289; bh=DBOuUH4iciEfC1Kfh7N2XbEPPiumG+J77Xw0SGI48As=; h=From:To:Cc:Subject:Date:From; b=obOSV+Ma7rYJ9VEJNIrZ95lY1XX6x1HpQq++5oxWKst8s+hJIufZcmCJqAZqe0h3a /Ctd7IiLrBs/VQXr3bUPGskpELscok6dMzvtIEzhY1gjuM4H5wZF4K47eezFJxHdCF q8MwtroAd+6nxLD4syA0t/mT4xjLGXLt6K5iLb6M= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 655D260A62 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=spjoshi@codeaurora.org From: Sarangdhar Joshi To: Ohad Ben-Cohen , Bjorn Andersson , Andy Gross Cc: Sarangdhar Joshi , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Stephen Boyd , Trilok Soni Subject: [PATCH] remoteproc: Drop qcom_scm_pas_supported() from adsp_probe() Date: Thu, 2 Feb 2017 16:04:37 -0800 Message-Id: <1486080277-17055-1-git-send-email-spjoshi@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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) {