Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1190977rbb; Mon, 26 Feb 2024 01:21:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCKl6qHr4fQmg2RhjSRPQZKugSCFQF51GrzeEjXaXkP881IkQDYmnwUWrtDFwGTQ1rtmtbpPvK9bMe+OVqRpN58qPIUFS5euO2DJ4jEg== X-Google-Smtp-Source: AGHT+IGdKUxPxcFQNuYk7QfUwf8CXcBrTxqrghdizXjwXwVW4ZTFaxpraQEjY9Eu4v78yrA8RrIZ X-Received: by 2002:a05:6830:98:b0:6e4:99ec:e0b8 with SMTP id a24-20020a056830009800b006e499ece0b8mr3428877oto.20.1708939279124; Mon, 26 Feb 2024 01:21:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708939279; cv=pass; d=google.com; s=arc-20160816; b=m3P+DrlWvgw1vJkrSBUAkRW39+CN2g4M/AnLvQpH/huTuBKEbBwoSAoFNVKwDo/tBP s8facJbue1Z4P8QZcHkwJCQ+/CgzLo/sRR4e/hQ8/HI0EBBbsCfHKEgZnfmhNLT3uYCC l3a2BBjjwzpQk/UcjGzu0LPyfkXsKdGdSYWSNHFJUx2oc7MVSgBKcoaWXi31Kv0nDjcP FQH6BpqgQuKnFpSwDnqe7l8yrOMIvmMKpM3+P6vJjgceY3P3OkYxc5/zpksSDhJgJ/7U 0bL3q8XTEybW0b8JBszmusC2IEL/eI3vaEpoUUP3U6zd7Ipj98DfPbANOBSLkrNsK5PK 0Bqg== 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=ngZ+d353kFxmFtbK/XBUC1J3dOlFhfpwwLh2bcc8LvcK2KDRCFUWN7NC+jXsEp9qv6 zylGJlM2PAFs04qaizw7HkkfiRFvjXn6f/XYa9HL1WG32AvHfoQ2FVlPkqhoUHUiNp6n KdZBIonWifE1I6UWXxE1n3HFn9BnoE1id0bv4HL6ZpgifeLad5pYY/VUr1dIm+gOfXtn KQHInQjvq0Fe33DEl677dLZIyiaPQEeyS4LnoTM9BkljzPRuEPO/ulnzeithvfzAQJ+l JtRNtWI6FjMr+7gew8eaUOEpW8Qg++z1rs0d6C/Ye8jBMq6Yu4A8XyF7I6yx4TeRoH1F BC4Q==; 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-80927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80927-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 b13-20020a63d30d000000b005d79ebbdc0asi3397764pgg.334.2024.02.26.01.21.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:21:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80927-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-80927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80927-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 AF992284E47 for ; Mon, 26 Feb 2024 09:20:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 003345466D; Mon, 26 Feb 2024 08:44:19 +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 DF7A41DA20; Mon, 26 Feb 2024 08:44:16 +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=1708937058; cv=none; b=sS6oWdav0NnCYtQDZ3noMdeUFKYFdh2kMPLqXINCrC1PESMMsnqzis1i27uHqqO5VOv2K7dcB1nH4Vk8wIL/7qtkrP0b4TJrH4iHQ2xhs4o2sJ7JPCejj4cNhR5kBKzhds1m7H3f6KLLE2hfrNcS1PwiJ5HKw9NwJvY9L3HbS88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708937058; c=relaxed/simple; bh=NZRW6tzTmDle8kSotz8FaxRCcE6d0Ym/4Gh5ibq+z7o=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References; b=Psq+mXEkJzrMr7gC/FQQN3X9i+55ECSp6LVR9dfDy3g2cNINPGs78t3iwZ68pmKZhcOiQm0GDa6BZZ74xUmf5+CJE4UjdtACN7rRjqF2caK8Oo3r+XEyGTW4YWpQTZZtbEyd6+Szm76wmhxi4n6muFdh0M1LDWA5DVb9Cvj2BFw= 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 5BEE1200165; Mon, 26 Feb 2024 09:44:15 +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 230EA20008E; Mon, 26 Feb 2024 09:44:15 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id D4545180222A; Mon, 26 Feb 2024 16:44:12 +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 v13 04/16] ASoC: fsl_asrc: move fsl_asrc_common.h to include/sound Date: Mon, 26 Feb 2024 16:28:17 +0800 Message-Id: <1708936109-11587-5-git-send-email-shengjiu.wang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1708936109-11587-1-git-send-email-shengjiu.wang@nxp.com> References: <1708936109-11587-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