Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4616242pxb; Tue, 5 Oct 2021 06:55:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE+zK9GYHc/T2Bez7VAn97evqNPiQNrT+gy1/JM37ClpONFEYymyOrmsg0aRz1gKQbsWbZ X-Received: by 2002:a17:902:7ec8:b0:13b:9d7a:6396 with SMTP id p8-20020a1709027ec800b0013b9d7a6396mr5413153plb.86.1633442136633; Tue, 05 Oct 2021 06:55:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633442136; cv=none; d=google.com; s=arc-20160816; b=dUVu6tApSwOF3m5ir3UU+UU0hbme9HH/OQV3KHjY9DeAyiDQXjB+Hid1bVf1Z6iFrJ ccRAe2va5BQ9tIaLwzQXIy2krrvEVduQAAiEamXuEiMfHmVOhpXtSG08pHUm3R7Xr7x+ R39d+Da9TDneLU0q09Av9mavt6tFCtFNXN+5wqWLlktMoTOy1rJsrQaiR//70iieGKKO f3QhimUHhpnzWqu1W+4IJ91k/RcqifU3BDjYke0JYKFdygOjelXkJv+xs0TiDzvaeCpo j5i6+zh7sC5kcwbB68la5nfYNI8V8Wn9BOd0N0Tp6lt5d1p93jESVMaD5UaA0kl6vWkj svUg== 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=8mpveRNPjV/0Z3Yn2/as+vy9ABcNLLBYiQyNmWDa52A=; b=Aw9oadMHxxnNsC5OtVAHSf/ugTAW/MfqnYFz9LGJPSKRri5iCAaFwJfCGTZY4tRiq3 Wj2Ne5YiJEaq2Fnt/pKlpIek7JpJPicEtmwNCsDZ8nkDDyoP0L75G2JQP0GX4yfI5ohB MIiQF+GZG4NKjGGBt1mRTsZpNli1oblYw/XsbsNbpuW2Sg9R/hMiMTTxtPbi2QRwTqpm 3gg97zTRf7fixf0kg0UHaKMNwRHEDRDscbupPFr9HYPR5I7qt2p4tHHTPT3kqMC7XoSW MFoktwPnVhQuNvNX237BeCstjuW/v9s6svJlKtMX7/R1qf8WDaid0tUC5U/KCGYvKhGb 0aDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=qqAHUBuY; 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 v64si19924900pgd.272.2021.10.05.06.55.22; Tue, 05 Oct 2021 06:55:36 -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=qqAHUBuY; 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 S235778AbhJEN41 (ORCPT + 99 others); Tue, 5 Oct 2021 09:56:27 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:18856 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235934AbhJENzO (ORCPT ); Tue, 5 Oct 2021 09:55:14 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1633442004; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=8mpveRNPjV/0Z3Yn2/as+vy9ABcNLLBYiQyNmWDa52A=; b=qqAHUBuYudGxIA2EV+1bW+1D/MoJefjmcgoC1RyyS+CrxxOCXEDzn+7zCTWAYGb5M7N93rSb vPc/iyqTjTNYk2QlebeyqYGhmkRTAiF+Nr4a91gWG28fSMFDNUXesUh3gb8rK/BBuzYtA4dp pMEm9qnT0uZNIqMIB3JKlLatAdk= X-Mailgun-Sending-Ip: 198.61.254.9 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-west-2.postgun.com with SMTP id 615c58d230ce13d2b4c4e906 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 05 Oct 2021 13:53:22 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 65EB8C2AC52; Tue, 5 Oct 2021 13:53:22 +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 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 80D4CC48B2C; Tue, 5 Oct 2021 13:53:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 80D4CC48B2C 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 v2 1/9] ASoC: qcom: Move lpass_pcm_data structure to lpass header Date: Tue, 5 Oct 2021 19:22:46 +0530 Message-Id: <1633441974-15353-2-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633441974-15353-1-git-send-email-srivasam@codeaurora.org> References: <1633441974-15353-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: Venkata Prasad Potturu Signed-off-by: Srinivasa Rao Mandadapu --- 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 f9df76d..a000041 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.