Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3926295pxb; Tue, 2 Nov 2021 00:34:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIr8yuXnX1LufstumdIWNqnL54E3hSi2623je+kwDI19E3GkPcWQhgwh9Aq5My6Qn6jSgs X-Received: by 2002:a05:6e02:1bcb:: with SMTP id x11mr19499787ilv.94.1635838440190; Tue, 02 Nov 2021 00:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635838440; cv=none; d=google.com; s=arc-20160816; b=vmo1ZaNFthEWYAspYdzdMwK5lJNPeYDFUGnT56BLE2IS6kCzM6CmGLXEdbwt9X3cUw g191ManOLm5LjMNCHsnmKZSDvNpfrR0jCN5wCz7biRDprLQr3+9PzB785g7lY06/bM9Y i2YVFL9rjx75I/wLAkYh2/prJedpyfrD+GNoVab+oqeamPY2r56xuKgYP44rbKCH0mV7 iwiUlS077esKqxhcltm0NyT2xcITpX1xeDxOSmy4GXjZEDx5ZDyAYwKgh47vS10mAV5d Lo0ywbxlyBmZVoMSZI1loXQKf4bdWuAbx7QT+vN8pGTWqDcR+PTxDVS9uMIkV3Ef4RQ7 cG0g== 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:sender:dkim-signature; bh=4HMGSd2J7w/dZxguyl5N9umCkfxLtsuKLR7inPyn4DM=; b=lo4IBFM0df9MZlFh0+xLoF60ZCt8nZSyhDTjnKvYnLPE+TkkLcHINxZ5EPscqVFSrr gnQbjadVptrXYQMdCq53nMv6dEAwK2lgljT75RbuNL+nBmY29xlFlXPmeZScbno9/Ela bM2xRXH08xSoOJCk/5Udd1eTXMxpUnq8PdM/OvyUodd2ab+mCuiDr2/h1sHOKLRQhAqe PoS9bfo/yRYiEhZZtHiu7Enamid5w0+ba63FxBe/EBPATdGWLO7MJ0UefuBcyqhJWeFD ajI5EB1LBuZs5C2/hUVhQyglY8PB27KpYuQqIZPXzWQTHwSYYGw6QwuZVxjZOdqLiyZf p4DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Hy7s2vHq; 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 g9si899792iov.42.2021.11.02.00.33.47; Tue, 02 Nov 2021 00:34:00 -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=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Hy7s2vHq; 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 S231138AbhKBHeD (ORCPT + 99 others); Tue, 2 Nov 2021 03:34:03 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:48962 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbhKBHeC (ORCPT ); Tue, 2 Nov 2021 03:34:02 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1635838287; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=4HMGSd2J7w/dZxguyl5N9umCkfxLtsuKLR7inPyn4DM=; b=Hy7s2vHqDX8cxO7pBqnJu/W6LevStinG8wfPCM7OD3eEv61Qre2K+fjBs44MIubaiUfrFdl5 hI/51YBruLCVnjd/fPXBtKSY9kn09OE+N+PGxfUFFAP+/Yd3RwJ57uJJdsRnmdb8ncnjJNLv UtmAVpblfwEFXpycfDTefyuxn3k= X-Mailgun-Sending-Ip: 69.72.43.7 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-n07.prod.us-west-2.postgun.com with SMTP id 6180e94f648aeeca5c5a29f2 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 02 Nov 2021 07:31:27 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 06BA1C4360D; Tue, 2 Nov 2021 07:31:27 +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 autolearn=no autolearn_force=no version=3.4.0 Received: from hu-srivasam-hyd.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 29675C43618; Tue, 2 Nov 2021 07:31:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 29675C43618 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=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, swboyd@chromium.org, judyhsiao@chromium.org Cc: Srinivasa Rao Mandadapu , Venkata Prasad Potturu Subject: [PATCH v4 01/10] ASoC: qcom: Move lpass_pcm_data structure to lpass header Date: Tue, 2 Nov 2021 13:00:56 +0530 Message-Id: <1635838265-27346-2-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1635838265-27346-1-git-send-email-srivasam@codeaurora.org> References: <1635838265-27346-1-git-send-email-srivasam@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Declare lpass_pcm_data structure in lpass header file instead of platform source file to make common use of it by other drivers Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- sound/soc/qcom/lpass-platform.c | 5 ----- sound/soc/qcom/lpass.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index a59e9d2..a44162c 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -18,11 +18,6 @@ #define DRV_NAME "lpass-platform" -struct lpass_pcm_data { - int dma_ch; - int i2s_port; -}; - #define LPASS_PLATFORM_BUFFER_SIZE (24 * 2 * 1024) #define LPASS_PLATFORM_PERIODS 2 diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index 67ef497..63aaa6f 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -256,6 +256,11 @@ struct lpass_variant { int num_clks; }; +struct lpass_pcm_data { + int dma_ch; + int i2s_port; +}; + /* register the platform driver from the CPU DAI driver */ int asoc_qcom_lpass_platform_register(struct platform_device *); int asoc_qcom_lpass_cpu_platform_remove(struct platform_device *pdev); -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.