Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2570997pxb; Sat, 23 Oct 2021 02:55:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/bnMAfH3DcI7FKx9FFGpryz7HC6BH4ZGGl9KEjrvsD3EbCybjOMM8Y2EUf6mwJGobfm0K X-Received: by 2002:aa7:962c:0:b0:44d:437d:c032 with SMTP id r12-20020aa7962c000000b0044d437dc032mr5439593pfg.85.1634982951949; Sat, 23 Oct 2021 02:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634982951; cv=none; d=google.com; s=arc-20160816; b=oyBldsEM2pznMDFtfeyRc63hFM0bkgoXZWwEDleGp9iN15zIYkhOCQ3yoT6RasIwQy +2LH5xgCu6QZnD51lH8u81IURrTPF+tqsK48Adefxk3ohnN3Y8Q6ei5Jx7AnY3sSm459 1e1JWpX663D7FMhtJeY8q64vhPXanJFDBEN3ANUejleaDvfjcHtv/vKytQcKIOX6HyUd /XyYnI1TkYApgtXgcunBT318GGadkn6LW7ii6o7lnyS6ip4zfoDfboAjbaPugOqjmSXb 4AX1G8Oi+YgBty3sf6+Rcq/P0dn/Pwiqn2+gIYrp+ZpWTapKWpi5CX4BDry1RQEEIT7z Qi8w== 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=UPrvPAPzsVfbHe2JluPJMmqeOGiZE6ZDpU51JtkMYhLiAM1X/IrhpfM6PRm30CooBf 2BMcbKavxeALsW4byC0peS80cngknWuX+J5KNu/IZWLIBqiHlMR4cchDNG02NLJtfx2W E4Gg7Uk7dm7MtLXgOZcKSMZ87saGQfx8IHqvbYTRADGBhVHHQTQqmUim2XQdYPXWy+v8 VCmXnMgx0tzSuvcXjqz1CWcjrV+TSqPs/Ehjmb2xSovVAPhejAzxWOd3tK/QR8ia205J F4RMXpw1XBE1yWnCdiE6iHiFAwxenkrhJ6DUAdIiUYwHOI0gvXNWe9MuNdUjtyvHhrMA NO+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b="YM3R/2a9"; 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 17si10030606pgr.476.2021.10.23.02.55.38; Sat, 23 Oct 2021 02:55:51 -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="YM3R/2a9"; 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 S230444AbhJWJ4w (ORCPT + 99 others); Sat, 23 Oct 2021 05:56:52 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:63930 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230327AbhJWJ4u (ORCPT ); Sat, 23 Oct 2021 05:56:50 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1634982872; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=4HMGSd2J7w/dZxguyl5N9umCkfxLtsuKLR7inPyn4DM=; b=YM3R/2a9ueLlxjBuP+N2H5rEV1QBzXVZowa7RsaONAd9Zfg/YcoGxfiZI6WDqEYQ2R4C6qUA TWYCxxnogHYQ/SjUQp1UcmxETtof5IIAjT7ajpzRYvJNMx80DOo/fHBMpbswF2fqOzwdQRHl u1VUzqQzpJiYba+9ELInhcrioQs= 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-n06.prod.us-east-1.postgun.com with SMTP id 6173dbd014914866fa55c2ca (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 23 Oct 2021 09:54:24 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D84BCC4338F; Sat, 23 Oct 2021 09:54:23 +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 4C41DC4360C; Sat, 23 Oct 2021 09:54:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 4C41DC4360C 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 v3 01/10] ASoC: qcom: Move lpass_pcm_data structure to lpass header Date: Sat, 23 Oct 2021 15:23:53 +0530 Message-Id: <1634982842-7477-2-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1634982842-7477-1-git-send-email-srivasam@codeaurora.org> References: <1634982842-7477-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.