Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1737346pxm; Thu, 24 Feb 2022 08:27:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyndZqye9sH0kOdg/RJg1fF81qKNBSX2SkA9Bp3OAU+UNGd+KXJzHPQHyiTE/619+vE8nio X-Received: by 2002:a17:902:f649:b0:14d:846f:e7da with SMTP id m9-20020a170902f64900b0014d846fe7damr3470870plg.133.1645720036526; Thu, 24 Feb 2022 08:27:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645720036; cv=none; d=google.com; s=arc-20160816; b=gLyRJduY/CxYxAmk8A8d7dXkVQkGV6YUM5QLwgBMpS3jqgkzZOVzh0/9OEp5S/aAVR MH9MLuV2roXz3Es5OLvrgu4cFszNRknX1YOpfTYlPwSYi8mQbOCQ7cIJMPrMqbkmuL// A5NtQK9FrcLYPeTWXn/ydaavDh8zYZz2SVTq2KihqSWx84cTG3XCkOalaQ9QMPsKcedB Gwa3DywvcvGz1ZhX9B0O7moU+z6AfnFNY1UM/O9VYxym48P847JlHwjrZ5UORY81AY+Y TDrXU86qgl9QakNfSWGdqnC0PjeWPwWYT0PXHe4B0CrjeO1v5tCeJd8vYJM5notvfRLu jl+g== 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=YkORRcNJ+5l1kBMDxP9lqJ+P7LAB8IRqZfK3wp6yEdqWKmTK4aXZ7lvrqZ8yqkBA5G +jMcauwd62DBZPU3DDCKl0Pl0cUr66fKKs1F/n93sM5nYrOJ9j44N5APJ9hhq+4d1y5T Q6bRttADqK1TS6++loxAQ/gnQDa9p304XKdaIhQvPFgyTnGYvgN3qAUZakHfrZIhWIeg afCu1FrIusHvBwB9adoyXW9I2y3dmNRLpwhiSzZCH//nfBtbiuK5HkVf1M3V7sObhUNm KcnLNPSwsWyQ8cnm5oh0MWXEEBRPYfrus9LS2Bk3Z514p6IKC3Sjhq11hS90G5L23vdV P4Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=VjGWZzB8; 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 82si2642908pgg.4.2022.02.24.08.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 08:27:16 -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=VjGWZzB8; 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 43F0D198ECB; Thu, 24 Feb 2022 08:16:16 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236336AbiBXPep (ORCPT + 99 others); Thu, 24 Feb 2022 10:34:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236343AbiBXPen (ORCPT ); Thu, 24 Feb 2022 10:34:43 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525DC1C60E9; Thu, 24 Feb 2022 07:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1645716853; x=1677252853; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=55r7vcOOWbj/oXy8k3YYhpmLfRt+lwKbKv2++d6u+g8=; b=VjGWZzB8p6i5dcEZmmehQJSNyHSNM/hWgrOaer2i1B8vxHlURRMoZzbv AmQmhfgehtm138qD1r0S7O/1oiCCLlYkN+LFep7qVCs6NGlJgB/60hkml vUwacXx78dIu92xXA58DkvZjDJMWCZSyfa6l+G/weOSbAXMXOUpHPLsK2 A=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 24 Feb 2022 07:34:13 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 07:34:12 -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; Thu, 24 Feb 2022 07:34:11 -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.986.15; Thu, 24 Feb 2022 07:34:06 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v16 1/9] ASoC: qcom: Move lpass_pcm_data structure to lpass header Date: Thu, 24 Feb 2022 21:03:40 +0530 Message-ID: <1645716828-15305-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1645716828-15305-1-git-send-email-quic_srivasam@quicinc.com> References: <1645716828-15305-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