Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4125146rwo; Tue, 25 Jul 2023 00:35:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlH8uG0rFBeekuqN/50wyQqJVRU7MYrmWxJ1Av2gD1MfLF5ExH6GhcS5oSOpmnNhmooXN30d X-Received: by 2002:a17:907:2cd7:b0:99b:4867:5e1a with SMTP id hg23-20020a1709072cd700b0099b48675e1amr10614799ejc.41.1690270549820; Tue, 25 Jul 2023 00:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690270549; cv=none; d=google.com; s=arc-20160816; b=v+ix53LovzAI4ue5Xjx7wzeNxg1IGLOp2oU8F3IFulOU1ZoNV52oLZMRRpVGuYKfQV JXmimh1HlN+/bH4vmUjSVNQjkJedXvzrLG2W8ULnUesVqHVHe6vfKtSRQO3iPNJ4GR3R OV23sPkA0kvLvPDkPnCT2n37Uw/8JFxAPmYxG81U9dwYvHJ5JKkAkIJ4w64Xo1Y5CnE+ fZI/Akpn3z85HOOu3quBn20CvjiQGijSBrjKJzJ7A0tP7LcFA0ye2MCq6N16FjMQYLbO lVY8tj1ys4ZCgrFIfUvzQvPh4duKIB4svN/fzH1Y6ljo396ZaHorYxOnQzCVsytqYhtx jf2Q== 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=cenhyE8QF/1S4DNSiISo8TX7BXBplJPKpDjrjL+zmAA=; b=Ch2PmIXxUn42NPTWF+48Tl5gIQivuJ8mCClzEWrpvkmnedm4ZzEHzNaHV6rm2zZV/F Nd/QPcs5zetHZtk9dXLhmpbow8Srg2MjfIvCjV/plJsSv1hTdyo1UJnOegSqtFhuwX4M xlM7Z/44UvlXknlejLX1RvHcLEJH8OXX4C3gqiCDsN2WTbsaQXKTnEouyLSKmHWfWGPh sZMGv0rBPsAVvb/G+TsKezEnANlUZLPSu5YxK4NZgtyu3q6ewEmjnxAGzgdN7iHyJXKd GcdgdWney85oHQKkc3mk/Gf1PU3t658lX4707XAOG5nLMWiW0CaJ5p0lxYFcfhBlyNQH Jb4g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a26-20020a170906191a00b00992ad173bd6si7713331eje.812.2023.07.25.00.35.24; Tue, 25 Jul 2023 00:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbjGYGqa (ORCPT + 99 others); Tue, 25 Jul 2023 02:46:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232242AbjGYGqX (ORCPT ); Tue, 25 Jul 2023 02:46:23 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C661E116; Mon, 24 Jul 2023 23:46:22 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4E60E1A1622; Tue, 25 Jul 2023 08:46:21 +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 14CE21A1614; Tue, 25 Jul 2023 08:46:21 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 32D661802183; Tue, 25 Jul 2023 14:46:19 +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 v2 3/7] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Tue, 25 Jul 2023 14:12:16 +0800 Message-Id: <1690265540-25999-4-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690265540-25999-1-git-send-email-shengjiu.wang@nxp.com> References: <1690265540-25999-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 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