Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3713306rdb; Wed, 13 Sep 2023 23:33:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsdUFJDvtiB9Spg+QSEwsJBgk+znH403qONnAS/NuvKJ7fetErVC1hxiLVhLGSBIrWmV3X X-Received: by 2002:a17:903:2005:b0:1c3:749f:6a4f with SMTP id s5-20020a170903200500b001c3749f6a4fmr4005685pla.54.1694673201176; Wed, 13 Sep 2023 23:33:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694673201; cv=none; d=google.com; s=arc-20160816; b=uUVwmIHjWchWs2IkHI20KVwIIsrWUjkHAJWz4bur4H2JjkuH6TiyS96vp6d1lTDh5R TZ16bR3gCwDPKIHPytRXZDkRn5RGya8g04SC7tHQTGKaTadx9VQbTrHEX7O+3uhNqhsB JRQOUFzrhFkLx7exOVRy1Jxoi8xKazyi8HpRLf9oQn/U+ddU+kIhyNyGtEGGW0g/dmIV 9PRYmbdVwOMhXF6AAuK1CsqeMbBff6eszj47u1tRAUqtJtfAowHaHRsvd7sinnU/HSUy NkSJzVg/ADG0AEK5fYOdaN5LpROd17jhZHOwxSDCvr5ElMfw0AYujh+n/fzmKC0CcNbn 2C6A== 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=xHBMekHwAbGUSa2KRyShlRRQMamnEoW7dUUM03hkEblm/OJB0RLbz9tA+Kncf2J8sp X8F2dVoW9/5hkpSL4i3FQ/tSngQZSGHwDmKWIwmyxn2Atwv4GhqId0l3SiNcHjo9DlmA TicyX6iOEhEjE80AtSAj2WXrii0oPU35IH2KDDbfO+/HK5ILr2lwFiELcYTXluXHYOuw npvuQTGflooQRIShAVzRZotXzPzd/UDMTSBEqxobp6LYhFMqDYe1q/gCe2hX+ef0CCvV A6qljE3A7RHqfzJENLKFVtUPfr2xsbyxPKSAWoZg1xLEx9Jx/UR4etPde4n75928JYqK bNIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id o5-20020a17090323c500b001b025aba9f2si1025841plh.22.2023.09.13.23.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 23:33:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 4E8DC80CD70B; Wed, 13 Sep 2023 23:31:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235662AbjINGax (ORCPT + 99 others); Thu, 14 Sep 2023 02:30:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235684AbjINGau (ORCPT ); Thu, 14 Sep 2023 02:30:50 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23795E69 for ; Wed, 13 Sep 2023 23:30:45 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BCF2C1A062C; Thu, 14 Sep 2023 08:30:43 +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 8536E1A0640; Thu, 14 Sep 2023 08:30:43 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 99B83183486C; Thu, 14 Sep 2023 14:30:41 +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 v3 3/9] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Thu, 14 Sep 2023 13:53:59 +0800 Message-Id: <1694670845-17070-4-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1694670845-17070-1-git-send-email-shengjiu.wang@nxp.com> References: <1694670845-17070-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP 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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Sep 2023 23:31:23 -0700 (PDT) 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 lipwig.vger.email 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