Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1224228rdb; Wed, 20 Sep 2023 03:21:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEnFyw20GcWm01hLUq5HDu73qephDMHe+IRERwLwtGkWIkEw4l78xQtzqvjOp9mRcJ9Srn+ X-Received: by 2002:a17:902:c3c1:b0:1c5:b678:a3e9 with SMTP id j1-20020a170902c3c100b001c5b678a3e9mr1746428plj.16.1695205281765; Wed, 20 Sep 2023 03:21:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695205281; cv=none; d=google.com; s=arc-20160816; b=YIREoHqqjscVAjZaQFBAXlje2vw8orzRDpq3pAR7kJIpeOo8Q5Ceq2XLQDxGhLb6hB CgUgagqwBqZ4wbqcWmSuIUK0demUnsLrkE8RzqzUuKZ3WGTDdEXaS62hmEWde/XtnOyH Nfzn9MGWc4QKMWTTla2qAk8R8qtjpR+RLfIcqE6wtALzyJE0YascvjYmQEyQ4VNtI3oz UATxFcRTrwZPrxIyIfXwyzhMQTm5XlCdf9uflkcYVrPXH4YmCvFK0+4DbvQnskBlMpuk IbPqzrpvd0jIpDxkm52tkDWjfBtn3VPFeaJ3uM+31oY6AoFm2ygX4iEdKHP6bnU6xIMU f0TA== 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 :to:from; bh=A/A0wMBFeAipUPhGkp7aR4T/n3eVDbFwLT8BECJPdRo=; fh=ufiESpW7Hvn5oNmN0l6/qCUiQrKfLLrOwb5uR1Dftds=; b=vCzjHEj3c8wg6MDZans/uNk4zPQaxfs30Aa4OmH1eA4KD5XuUDLt9lB54/6avYVK1z 7awoggMnhlLa2U88B/3ePj3vIRVUFnp/wDQzuHUt+trbCJAAgns0r0AfFkC3dedijFUN f0ZN/lq+wZp/rPRQqxVr+kGZ8qThPdGqZ5bF6qe3svaUI7fbtow6ptYax4TdvHYwenUn fcJpeZ9M6uXVfP/LUM+rJE5ECifVOpSQwCSvjVzyTqs1bKaVHI4TtTG1c19GSC1qP7OF D40t9/bwZ66LYs+NMy2fNOsuHQjPuEoiivJnxEZstXyJqejvKouDc0370Z0zUU5EAFZj 06Nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b14-20020a170902d50e00b001c3e98a0d79si12008639plg.401.2023.09.20.03.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 03:21:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1F06B8028F99; Wed, 20 Sep 2023 03:10:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234274AbjITKKF (ORCPT + 99 others); Wed, 20 Sep 2023 06:10:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234207AbjITKJ7 (ORCPT ); Wed, 20 Sep 2023 06:09:59 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE842AD; Wed, 20 Sep 2023 03:09:53 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 66F7D1A0D69; Wed, 20 Sep 2023 12:09:52 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2EB121A0D68; Wed, 20 Sep 2023 12:09:52 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 49A9D181D0E4; Wed, 20 Sep 2023 18:09:50 +0800 (+08) From: Shengjiu Wang To: hverkuil@xs4all.nl, sakari.ailus@iki.fi, tfiga@chromium.org, m.szyprowski@samsung.com, mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, shengjiu.wang@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, nicoleotsuka@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH v4 03/11] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Wed, 20 Sep 2023 17:32:42 +0800 Message-Id: <1695202370-24678-4-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1695202370-24678-1-git-send-email-shengjiu.wang@nxp.com> References: <1695202370-24678-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 20 Sep 2023 03:10:18 -0700 (PDT) Move fsl_asrc_common.h to include/sound that it can be included from other drivers. Signed-off-by: Shengjiu Wang --- {sound/soc/fsl => include/sound}/fsl_asrc_common.h | 0 sound/soc/fsl/fsl_asrc.h | 2 +- sound/soc/fsl/fsl_asrc_dma.c | 2 +- sound/soc/fsl/fsl_easrc.h | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {sound/soc/fsl => include/sound}/fsl_asrc_common.h (100%) diff --git a/sound/soc/fsl/fsl_asrc_common.h b/include/sound/fsl_asrc_common.h similarity index 100% rename from sound/soc/fsl/fsl_asrc_common.h rename to include/sound/fsl_asrc_common.h diff --git a/sound/soc/fsl/fsl_asrc.h b/sound/soc/fsl/fsl_asrc.h index 1c492eb237f5..66544624de7b 100644 --- a/sound/soc/fsl/fsl_asrc.h +++ b/sound/soc/fsl/fsl_asrc.h @@ -10,7 +10,7 @@ #ifndef _FSL_ASRC_H #define _FSL_ASRC_H -#include "fsl_asrc_common.h" +#include #define ASRC_M2M_INPUTFIFO_WML 0x4 #define ASRC_M2M_OUTPUTFIFO_WML 0x2 diff --git a/sound/soc/fsl/fsl_asrc_dma.c b/sound/soc/fsl/fsl_asrc_dma.c index 05a7d1588d20..b034fee3f1f4 100644 --- a/sound/soc/fsl/fsl_asrc_dma.c +++ b/sound/soc/fsl/fsl_asrc_dma.c @@ -12,7 +12,7 @@ #include #include -#include "fsl_asrc_common.h" +#include #define FSL_ASRC_DMABUF_SIZE (256 * 1024) diff --git a/sound/soc/fsl/fsl_easrc.h b/sound/soc/fsl/fsl_easrc.h index bee887c8b4f2..f571647c508f 100644 --- a/sound/soc/fsl/fsl_easrc.h +++ b/sound/soc/fsl/fsl_easrc.h @@ -9,7 +9,7 @@ #include #include -#include "fsl_asrc_common.h" +#include /* EASRC Register Map */ -- 2.34.1