Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp592957pxk; Thu, 17 Sep 2020 10:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6SMEjZTdAG/qvQfEMF/lTXil4dO0xC+789FueqNbEmwqOcOG5GaclbpHa9vuV9ZwYE6RK X-Received: by 2002:aa7:d059:: with SMTP id n25mr34085115edo.270.1600364860667; Thu, 17 Sep 2020 10:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600364860; cv=none; d=google.com; s=arc-20160816; b=I3+NOlPYnhahfq3imE8VkOkaorkl9fy5NwicM+lRuoKn7XUb5Yd3wthT5ZOfh5599f gWeB62dbZTEXYlRn53p+ELkl9ycL7kfjtGV7R6AJo8hQJv09MHVCeq8OVM7QRrxJpiDl wyHTgkoDHZyykLIS3PgMVmwOpbal+edcUZAbRRjKDDJhirl0nBi1wOLGJq2MBzh2k5pR zv/IpP4wQ5xrigv9hUFY/HhrR/+Ri5xevGfhdqh5TF6bNAnoZJtUeZ6r/2Yx3BoXpKb3 962isufud6mkATWMcF5pyY/TyTNjRWpycf7awnjzlf7ksLyoFwjnY4x6/p/hdbu+Mzdn 3XjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:dkim-signature; bh=KZxsDFejn7ORCqaarzqmfK220hxxkkdgOel4U335+iI=; b=mXkBOzdJFVoVBWpXQU/avD/3bdoDJTZsJZkpsZuDPLsRA6oO91DCWQV7UQHbcnTfO5 wr1+DCDIRISd+0tBJeJZPrvIWKC97EQqWHDUFtuRdtiD9TU4i1prGt9ik1ChEqSXboxv neY0crRmJ48O+OnTpIm+lHa72crOQHxKhWo8+DicnKPLf8U6d8Rgzgd20vooqD1lGUrE nb2BCo83AVyLee/ndA6LTDU6jKNqv1rV1VcE2OIFELpNfuLlOqK8wdGK4QfmulNdm4ZH 93119J4Hrwe9NFOhPpVHOf3iKlT3yZENd3NL41AtHcppx3HfMd1Ijf55wDeoY0QnsMPN hmfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=dDfPCKie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si430210eju.83.2020.09.17.10.47.17; Thu, 17 Sep 2020 10:47:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=dDfPCKie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726593AbgIQRnw (ORCPT + 99 others); Thu, 17 Sep 2020 13:43:52 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:39235 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726444AbgIQRku (ORCPT ); Thu, 17 Sep 2020 13:40:50 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600364448; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=KZxsDFejn7ORCqaarzqmfK220hxxkkdgOel4U335+iI=; b=dDfPCKiemgkuR7XtT5by1aIvJTtS8TMwHwQJ8CEjklB7I2NiJoHnkV8KTLynikjc++qqbh4p c/qA3zf0qi6Z67A2YzvBe4EAqg+x88ShmAABbkVq0ga9+7EwBnBvl/6DuxNZ+DVD+ffI1S2J 9f1Z2l6vSWBnUKcu7nPokAMwf1s= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5f6366abf1e3eb89c702830a (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 17 Sep 2020 13:37:47 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D5BE6C433C8; Thu, 17 Sep 2020 13:37:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hyd-lnxbld210.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7F51AC433CA; Thu, 17 Sep 2020 13:37:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7F51AC433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: V Sujith Kumar Reddy , Srinivasa Rao Subject: [PATCH v5 3/5] Asoc:qcom:lpass-cpu:Update dts property read API Date: Thu, 17 Sep 2020 19:07:06 +0530 Message-Id: <1600349828-10727-4-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600349828-10727-1-git-send-email-srivasam@codeaurora.org> References: <1600349828-10727-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/lpass-cpu.c | 2 +- sound/soc/qcom/lpass-platform.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c index 1ee6d8b..5d84f63 100644 --- a/sound/soc/qcom/lpass-cpu.c +++ b/sound/soc/qcom/lpass-cpu.c @@ -575,7 +575,7 @@ int asoc_qcom_lpass_cpu_platform_probe(struct platform_device *pdev) of_lpass_cpu_parse_dai_data(dev, drvdata); - res = platform_get_resource(pdev, IORESOURCE_MEM, 0); + res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "lpass-lpaif"); drvdata->lpaif = devm_ioremap_resource(dev, res); if (IS_ERR((void const __force *)drvdata->lpaif)) { diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index df692ed..35aead1 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -638,7 +638,7 @@ int asoc_qcom_lpass_platform_register(struct platform_device *pdev) struct lpass_variant *v = drvdata->variant; int ret; - drvdata->lpaif_irq = platform_get_irq(pdev, 0); + drvdata->lpaif_irq = platform_get_irq_byname(pdev, "lpass-irq-lpaif"); if (drvdata->lpaif_irq < 0) return -ENODEV; -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.