Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp302309lql; Mon, 11 Mar 2024 03:16:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWTkPWxiI7ldEYEdwTPBEM8XPsCjaCyeXSDDUJfCmga8Gf8Ds8WLZ78kwMfHrq7E2ypw7nqp6sJfC/u8uhStMMYLKxNLcsXYGJ/8+jUOQ== X-Google-Smtp-Source: AGHT+IFu2jwnzT1Jnr4PgVmV+3ohkzSmiGZt1Lo83qob+IgB035Oq4ClcVYe8/iw7dWNM6XnfiAb X-Received: by 2002:a17:902:ce83:b0:1dd:81e5:e444 with SMTP id f3-20020a170902ce8300b001dd81e5e444mr6888057plg.23.1710152181120; Mon, 11 Mar 2024 03:16:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710152181; cv=pass; d=google.com; s=arc-20160816; b=xMiquqFyGDD0nuTdBomGVLpBFB/p5QgraXUF7Vb+yGuycwjYW+Pa9sW8Wgizs+o0sd eSK5iIjKuCbepjYzYYooMfpAgVCO0cvSU6pZliUlFNowI9wg8VJGxddJXba3aDJQC61l L3EFEwQBgp0my1IaNkiMZTcqD5F1J/7YFgziZSOjpbzjYjD16hzYCGDpoyecVocXTsjx /vKh+HR0bomnsCV+Ws/L56EoBS6GViKVI80WtRb/hTts8FKURGa5vXfDEDAC9iI2/aW1 wXH3GGlhbDOzNxMF7sQmvJtfjqy/pXopU+GtK/0TDlxkbR9ucDSjWX2Tyw2B0yR3uG9B fDiQ== 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=GysvzatE64PNyvVOoLpAyN/0tioFqskPj37g0rZzADyx+oCh+S9XC6P8N9ewjG5fAv 5Lti2m1kZWYbv04WziUhMO78auBv9xOD54Q+BewXg/HZzSf5Yp5DzckxaX0Ed2OW4P47 verVEyI3udJlQJS/nJ75Z0fcxZVfah22ZUYDVpCW39rF6JbRwao66Ryb+jUaM9DVWuYQ Bo/vkZeHahllcEp43EPw14HUQ/6lpzDrBH8GEz0MrAGEWRicOCza8aP2nThtq7ARPcbQ v8Ik2rn4Ylv1yTke6ozHvW1WdL9Pw6cup524OzFAp4bOC8OMG53D3EpeIuHhgwdyUw5O zZKQ==; dara=google.com 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-98683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 21-20020a170902e9d500b001db2d82e7f1si4349621plk.137.2024.03.11.03.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 03:16:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; 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-98683-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98683-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0ADA9B2160F for ; Mon, 11 Mar 2024 10:15:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D1042C698; Mon, 11 Mar 2024 10:15:36 +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 BB5B222064; Mon, 11 Mar 2024 10:15:34 +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=1710152136; cv=none; b=RVxr8FEeOkM2i0X4LF7QK2j/FTY0l0yJA3TDU17vCfxCuNPEcwO2ag2vVPMl1Q8S5gbktAeEy+8buQD7iQQ2mp2oeSUbgzk2eCGpfEfwGw2fY2FT2VKDXPiRmwPUq8793lzOzqiZU6lZ8z5GBBqckkEejDvZoznyXcg8uu3ZiP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710152136; c=relaxed/simple; bh=NZRW6tzTmDle8kSotz8FaxRCcE6d0Ym/4Gh5ibq+z7o=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References; b=ATS0VVyQ9DDRg+dTGqKs2BGLfOvyz1gg4IATPUp6hQCfkAAnJFtf4xmDmlgywriPknQYC2rUPJLgWLr+nvIuPmuPxBE0EeNX++IWSG3F3PrAnQDQDfJ307u61E2GQecSup1/IPLjutHuWBPMbLeb0Qu9Jf2099L1ZzCV/4zL7+A= 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 1FA251A1970; Mon, 11 Mar 2024 11:10:15 +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 C918D1A022C; Mon, 11 Mar 2024 11:10:14 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 12492183AD15; Mon, 11 Mar 2024 18:10:13 +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 v14 04/16] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Mon, 11 Mar 2024 17:53:49 +0800 Message-Id: <1710150841-26991-5-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1710150841-26991-1-git-send-email-shengjiu.wang@nxp.com> References: <1710150841-26991-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