Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp716757lqt; Tue, 19 Mar 2024 01:14:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXBOQRLq8GDTBqVPgfrUEnigDXol1XBqVN1BTjibQKgMphoKQ420/cWHp3RMde6NgDB+T7AUdnNAcWRlhvyVaUDyuWQCgcU8U6+PDY+Q== X-Google-Smtp-Source: AGHT+IGumOnSotWtwFVXhJNbRyrfDl6RpPeSa/i/daqocbsx8y2w7w4C6Pavz5cP6mhEy5zqEM3m X-Received: by 2002:a05:6359:7412:b0:17e:bb19:9e66 with SMTP id va18-20020a056359741200b0017ebb199e66mr9282765rwb.1.1710836044677; Tue, 19 Mar 2024 01:14:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710836044; cv=pass; d=google.com; s=arc-20160816; b=rl9cm5Q5WpkQJcQfCTIA8qJrqOgLw81w2dENhW7V7GZWwYOlKa1BMsRP4TReUvlXPE vnBmmSjWcfkXGOKJspFA+OVlxH8HzmqKrn3yHcu1VEF50VdzXsgfkuBCTe5PP6RhW71V 0O/A2W5AadYHhrrrzw3VLn6gIiwZZ7EuPt2KuVjy2dQePBSqEuDkbMGCoeHozZhHO8UR OGzQBxNEGY9al5FaErZ7dHezP8fr3AkSHbiEkozT0g3+hEQ7Jfddfu0PtL5VQ6mxRsm4 gQHrBTb9ftJqqccleHONrEMNDwqz/ST0ls63kdA9AvOEhe2Cxzni5cnpoVdYfGV9PXXT aZDA== 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=DcLstgDGgPH0J5oktaBPsRfG8XGS+8IDxdGp4IPsUw+K0KE0UmAyVBaRTSiQRsGJRw 51SEfws1ze7nAAUdN/eQVDCQTdy6DVRjbthszjtGjJpqrxzrukPy1Os1CqbabhjbvZD0 Hqyz1GPR/jL+GlaE2iMao07hHe5ai0K0CxwPf1PxBHFroEkyq7BzkvFGJsLw6IYVR0+7 3tjl6DvUhQZzZNVKMMcHhKJvJjEnBF23akL6NpMLpcs/GP5BiKAagtGLEjxp1g1cG6oe a42GLIItAPgVWqOaJ/Gwm7mIChvg34L2UYknik67Rivv/ZZQBDPTHEgz6LygEaFRJu/6 QCPA==; 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-107208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107208-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. [139.178.88.99]) by mx.google.com with ESMTPS id k22-20020a635616000000b005d2c05c7039si9550294pgb.865.2024.03.19.01.14.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 01:14:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-107208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-107208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-107208-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 56E9E281DD2 for ; Tue, 19 Mar 2024 08:14:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A65D554654; Tue, 19 Mar 2024 08:13:45 +0000 (UTC) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) (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 A9A36537E6; Tue, 19 Mar 2024 08:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=92.121.34.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710836025; cv=none; b=V2PmeBFQbu/OuCedOYdmAT2YgVo7DYDm2ba4pY3C/1QX4lMzKqeUk2xlJbKxWcw0bP7x44ueBXsexmZkQBrtCRxSpr8Q6C4kGoIpVBPV6sfu7s6QPxpVvl1vqrX4BCBZmqKH/KsWfdKxQLWWqMGNAFz2Mk2c4Z0L2fN1Enw/qKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710836025; c=relaxed/simple; bh=NZRW6tzTmDle8kSotz8FaxRCcE6d0Ym/4Gh5ibq+z7o=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References; b=dV/jRQuCtwOoPWr0sNcaGBFiSyV+fqAzwCyRQ+F03I3cNqaX6ow8q1gWw0JxVGmoc+2yq+zofEdsR2W6km7Hz+TQZ5axqa/qYQq1/UT1/uyluFc5A5+bnhtCa72MUYoqa5QCftjBQO4or2wnImIganT7y3lXAgIvQMgjvWo+/XM= 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.21 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 inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 355C720136F; Tue, 19 Mar 2024 09:07:55 +0100 (CET) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id F0A7D201364; Tue, 19 Mar 2024 09:07:54 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id E5F011820F76; Tue, 19 Mar 2024 16:07:52 +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 v15 04/16] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Tue, 19 Mar 2024 15:51:02 +0800 Message-Id: <1710834674-3285-5-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1710834674-3285-1-git-send-email-shengjiu.wang@nxp.com> References: <1710834674-3285-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