Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp342409rdb; Thu, 18 Jan 2024 05:25:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2XLdCKIvcuOLxcripNJ75d5ENe4XGvOl1cz5EBzvhUu/yYwnMuL9jYIEFE3K18Omivn5X X-Received: by 2002:a17:902:c20d:b0:1d7:e8f:590d with SMTP id 13-20020a170902c20d00b001d70e8f590dmr352800pll.115.1705584324742; Thu, 18 Jan 2024 05:25:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705584324; cv=pass; d=google.com; s=arc-20160816; b=e1a4k9JKoDd0M5xWCF0FFe1iMumFg4+MPkasYt+UaFqAM5pjwnMQlqNRS/LcafaQyD q2UJ+ufii9eib8x3cJ+9orjOq6hsuh1VelnvW/lwK0BnPe2ABXrPlviNEmrf5B8mAqEZ soQk0CVc4qNgVaZJtVqU3QsDI8yppnuIY/GmAZ+zqlRV3xEY2w68aNyOnAnaig3Le/OO TH/UD/6xOzpMj/Pu6PuNpat7XbROQKPVp1ZRvumST6oKyfeAv0ebj4fP0nqQXC3ZjJID smGwQtHy4AhzHPerSCOwxiNRflCuqNN8bG/wh5H2VLfRcZ6gYKaKN2oDAgHa1RjEnT17 dpkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:to:from; bh=MwhEnjYCpULHQ+3+iGK53WHI6XPhMnUVKee2Aej2XYM=; fh=ufiESpW7Hvn5oNmN0l6/qCUiQrKfLLrOwb5uR1Dftds=; b=gOteZlOBJeFThETzRlu6OkUdWHjuqdn5KwACe+/p8yzuFK2UJSDIsGo9mNIe4HYTO6 3Rg1SNuvRX4hwmeBXPdiHQtPN42c3Uf7K/J0wckpk2CN9Tv1pPDNayR8iMSYtUHb0Kob lgkx9AO5S8u005RJDByOX0yLNWpM5XnEhNhglLsCS0SHohQxH3g4IY6FGGAp9bf7LS4U bPVJnsP7pBPOWtRAu3qwobTHMYWMI4tWNVupLP4z8iOReNSat1YEZXx7Rm61Fd6nQEXC flFBZ/QPuNTRZanZFF94oQ9KW3YndeGV2KN0E9Crcsw68rugULMMw9vIwmurLe+mhluY TaoQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-30149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id iz5-20020a170902ef8500b001d5385d7624si1436965plb.65.2024.01.18.05.25.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 05:25:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-30149-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30149-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 64036288169 for ; Thu, 18 Jan 2024 13:25:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FAEB286B0; Thu, 18 Jan 2024 13:24:54 +0000 (UTC) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2120125544; Thu, 18 Jan 2024 13:24:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705584293; cv=none; b=r4a32t7KNQgdgSgviaAtBn5kyk0DIgXUvkgs6IKBG8SaHrMQsikBRiUo+GSDwqQ5vQTNkxroVauaoBYwUoVCc4iUJ6T6oFHFO/olNbo9ewkciiSNYV+wLC6nS7s4f3USN1+9zWehizamTS1s0ctyKbGnlqqcDwThY5CzoqOhGV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705584293; c=relaxed/simple; bh=NZRW6tzTmDle8kSotz8FaxRCcE6d0Ym/4Gh5ibq+z7o=; h=Received:Received:Received:From:To:Subject:Date:Message-Id: X-Mailer:In-Reply-To:References:X-Virus-Scanned; b=NND6JOtNxKDLM0x7VVVp3928KdKD6dWUlzxI/1YdpCTiVItGM/9+sDKgOgHGPw/1xC/6vmSh6Oj/uSeZfjT6zsUXZa4HQN0ijKtSIZRz2mo1zeIUtvD0zqIHVrCEmS2KohdpNhlm4/qKt8c2nRq1Ob8a19+01qrXHd2sNO3BwpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; arc=none smtp.client-ip=92.121.34.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2C0E51A124D; Thu, 18 Jan 2024 14:14:54 +0100 (CET) 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 E817F1A1241; Thu, 18 Jan 2024 14:14:53 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id E0AEB18002A2; Thu, 18 Jan 2024 21:14:51 +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: [PATCH v12 03/15] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Thu, 18 Jan 2024 20:31:56 +0800 Message-Id: <1705581128-4604-4-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1705581128-4604-1-git-send-email-shengjiu.wang@nxp.com> References: <1705581128-4604-1-git-send-email-shengjiu.wang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Move fsl_asrc_common.h to include/sound that it can be included from other drivers. Signed-off-by: Shengjiu Wang Acked-by: Mark Brown --- {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 f501f47242fb..f067bf1ecea7 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 c9f770862662..a24e540876a4 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