From patchwork Mon Feb 26 08:28:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 206479 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1956466dyb; Mon, 26 Feb 2024 01:21:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTL6vSpvFpgw5F2kooZEcRUQzojYG+FMsZEEzadZYmsbImvohZYTm+nPFEBzcjRrsGUlMDBqClfbt+VPzjPTfkXvZtmQ== X-Google-Smtp-Source: AGHT+IH/DvdEcIyLOqtDW9bl6lbXhAYi2qNthah6+BNRBTWT+mwayEGixrK7OM+u+XkYMQPr+Xq/ X-Received: by 2002:a05:6214:4a87:b0:68c:7ca9:8e52 with SMTP id pi7-20020a0562144a8700b0068c7ca98e52mr9169841qvb.56.1708939274264; Mon, 26 Feb 2024 01:21:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708939274; cv=pass; d=google.com; s=arc-20160816; b=GJbLRzYNlDbT/L8Wsyw9K6XFxz+speeNxUtFH70GlnxOhj5BkaY0HeMykSVwwnNj8S yhfXYCq/A4YZm3StU5uKHyBtJ/SmtEOn4NAXA9RBa8JFLdQoFKQJiXkwqgrj5Hj6arIQ uFtr1EwmOhjd8FVbkSj2Ofch/pmv07sZKyXfMABQHjRcUjaa0VCXfokE1XoBaFQ0DOhk W8I7fe2ZBQsUgVy7JK960koeA7zh/BPgV6SubpTQ9W8xQjgMXTgQy31fATmRh1u8Xp0H hxKId2sg4EmWPRfkUvT2hQ8zzagI0qWTSRgJjGyuoAu/cAQkT0dOUXJ6LL8L5c8x9f32 /Rtw== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80927-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id u10-20020ad45aaa000000b0068f52b36cf8si4694893qvg.304.2024.02.26.01.21.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:21:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80927-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80927-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EBCFE1C24043 for ; Mon, 26 Feb 2024 09:20:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F12C54BCF; Mon, 26 Feb 2024 08:44:20 +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: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791952708699539053 X-GMAIL-MSGID: 1791952708699539053 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 */