Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5947732pxb; Mon, 14 Feb 2022 11:24:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwM+Mp248to7xNltgs4pGCY7yks2GIVLkM3is3G2hmynUOSGy+BKMlrfzjs3kyvXooX2dCZ X-Received: by 2002:a17:902:ce92:: with SMTP id f18mr262879plg.25.1644866676920; Mon, 14 Feb 2022 11:24:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644866676; cv=none; d=google.com; s=arc-20160816; b=Wn4ZcR0MjoCZ1WuPFN+/0IPh3LqXSfhmzZQFFIqH6+erTirPzh16CYAbr9iRxaUz5g +ob5sjlj61cp/1JGnGgfmTkK/AF8cx6D3rKXBMXW25PcIIP0bpIPoDz/cJ+AaaXf+JOF rd+ccsuO1JaASEiaWjJt7sfujtk8WRtEqWxE/eSBnpCEk4dK4z7TqmzZEvZALm6T7VVK GaQDIh4Bzinx3NGYqKlNC9v+zuFaj4ExCk5jsFJ2nGXaRrAJOJQqemw9sT/B9BfHRmRS LZhuO7G1ALfEl3lrKHCBeoHmeGW105hUTDVdOgI89X9aFLI7yKNNWCmO+gnsRiOGYK2U 7BYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=55r7vcOOWbj/oXy8k3YYhpmLfRt+lwKbKv2++d6u+g8=; b=kC06ycaORG+a8GC9AzK9q5uobPvY1yKMGvzaybgVGINo3OT7h8GuTR7x+e84lGV0LT lxG4ZFNvZiDRYaR4NvAOYUnGFZk1OUvAYqBlBeLuqLQETfyhZGLH5tttcwybYqogFrkA xvGh7ep9Drulx1xUWJdM+M1sy8a3+VoHyTA+WhSgIkqdPEqawqWpmqeR0V63zfda8D7Q N+FHHLCi7sKIGc6yQLKWp0WgKakh23rieAo4Gtim2ieCJXp8gILIu+NDim4ovdLGjgU0 7yJRn/EhwVZbRofpjyPtZyyepKAc0HKltgO5f4/k8m7aFbpR/s1nj2jDbjMoiof8MrSI 0krQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=VNYtiBWL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p41si31594941pfh.140.2022.02.14.11.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 11:24:36 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=VNYtiBWL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4132DD5547; Mon, 14 Feb 2022 11:15:26 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239561AbiBNO7L (ORCPT + 99 others); Mon, 14 Feb 2022 09:59:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355497AbiBNO7G (ORCPT ); Mon, 14 Feb 2022 09:59:06 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235A24754C; Mon, 14 Feb 2022 06:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644850739; x=1676386739; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=55r7vcOOWbj/oXy8k3YYhpmLfRt+lwKbKv2++d6u+g8=; b=VNYtiBWLw7IaDSCGmtvIHIYIeeCEiZEhKhjzNWkExOv8I4DNlxyZ2why 9+UjsmxMxx0AGhBD0cZ1ZCf+9Ild0F8iYrWJkmz1HjMItr4E2Yd9HL1Aw oknVE7OcqzcuzB/tewzdUuzW6ELsvZx0tS/RYJgXNzZ7rgffA9kQieacA A=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 14 Feb 2022 06:58:58 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2022 06:58:58 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Mon, 14 Feb 2022 06:58:58 -0800 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Mon, 14 Feb 2022 06:58:52 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [RESEND v13 02/10] ASoC: qcom: Move lpass_pcm_data structure to lpass header Date: Mon, 14 Feb 2022 20:28:20 +0530 Message-ID: <1644850708-11099-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644850708-11099-1-git-send-email-quic_srivasam@quicinc.com> References: <1644850708-11099-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 Reviewed-by: Srinivas Kandagatla --- 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 c0f0247..f0d21cd 100644 --- a/sound/soc/qcom/lpass.h +++ b/sound/soc/qcom/lpass.h @@ -257,6 +257,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); -- 2.7.4