Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5684737ybf; Thu, 5 Mar 2020 05:16:12 -0800 (PST) X-Google-Smtp-Source: ADFU+vtboZoTYgf13+TJ3bo1OkmVOUfBOcCJxTN9OKwcmfbxLU2QVtx51Om1e97cpudn9kWNBpou X-Received: by 2002:aca:110f:: with SMTP id 15mr5396789oir.114.1583414171844; Thu, 05 Mar 2020 05:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583414171; cv=none; d=google.com; s=arc-20160816; b=yac18b4ZiQafYZY0CZ3L1lPmLIzi4ldsPPil2zJIeeBW2dQtjL/o8BGwHTfB8IbQ4y Fl619Rde6FxkFsQXkGuaEzm4frhnEwd4tck8Th+HrW4+11+3cApPXDuTA3YE4FbB6nEQ bfCFqVF03xh7NzK52gURDterupvBiIVLmK5FQbez01obBiUJPASoJxHn1tWMSb+ii3VO +Micm8HU83+6bAt4thggtGv6vzHbVyKPlrZdt85oPXuPihNIt54TQDwEE60htBVe5cl9 WbkBQvUIDynlDrwoFtJt9rpLVFnSCQ2iyzsrIvtTCd6ovOYcWNgLSCSUFTURt1P/j2vY Y6pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to:subject:cc:to:from :date; bh=OAo6fENQzlgTkKT9U2Orc+OS8f+yGeWo1O5P99pDDsg=; b=jgdd4MRsKzAi3tm1GFPI/M6CzcDbQ+00w+9XQjzrknGyzBGR+7k1+0wX0YqL3VnmBC TJtTCHIsMlHFI/0i+TWLzLTKfwpdzJ1uF+KpXzC0lgmNTwGs+U3MVuDkq5yG1X7pXEAo lVNp8JkGWvIzaa5yRACP2fu+4YKZeoQbwuo2ysSxIa4HqdMrIuQhfAMJBEVMq93UV1PK BjhnJWEvKEn51iBLzLXwRYUCTOQCoaH2mcUGlDg+kcHkXEjljSbMOnInXxgB0EQaROmS 1Siob8HW8ATnwxYMJOYAQBnPm+iqrDL58zyOE2sdoxm3TLKXQ8WT/VhBGrPrkQBuNRaV EMCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d196si3527582oig.268.2020.03.05.05.15.59; Thu, 05 Mar 2020 05:16:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726048AbgCENPi (ORCPT + 99 others); Thu, 5 Mar 2020 08:15:38 -0500 Received: from foss.arm.com ([217.140.110.172]:48418 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbgCENPi (ORCPT ); Thu, 5 Mar 2020 08:15:38 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 393E91FB; Thu, 5 Mar 2020 05:15:38 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B22053F6CF; Thu, 5 Mar 2020 05:15:37 -0800 (PST) Date: Thu, 05 Mar 2020 13:15:36 +0000 From: Mark Brown To: Baolin Wang Cc: alsa-devel@alsa-project.org, baolin.wang7@gmail.com, broonie@kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , orsonzhai@gmail.com, perex@perex.cz, tiwai@suse.com, zhang.lyra@gmail.com Subject: Applied "ASoC: sprd: Allow the MCDT driver to build into modules" to the asoc tree In-Reply-To: <9306f2b99641136653ae4fe6cf9e859b7f698f77.1583387748.git.baolin.wang7@gmail.com> Message-Id: X-Patchwork-Hint: ignore Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: sprd: Allow the MCDT driver to build into modules has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From fd357ec595d36676c239d8d16706a270a961ac32 Mon Sep 17 00:00:00 2001 From: Baolin Wang Date: Thu, 5 Mar 2020 14:00:53 +0800 Subject: [PATCH] ASoC: sprd: Allow the MCDT driver to build into modules Change the config to 'tristate' for MCDT driver to allow it to build into modules, as well as changing to use IS_ENABLED() to validate if need supply dummy functions when building the MCDT driver as a module. Signed-off-by: Baolin Wang Link: https://lore.kernel.org/r/9306f2b99641136653ae4fe6cf9e859b7f698f77.1583387748.git.baolin.wang7@gmail.com Signed-off-by: Mark Brown --- sound/soc/sprd/Kconfig | 2 +- sound/soc/sprd/sprd-mcdt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sprd/Kconfig b/sound/soc/sprd/Kconfig index 5474fd3de8c0..5e0ac8278572 100644 --- a/sound/soc/sprd/Kconfig +++ b/sound/soc/sprd/Kconfig @@ -8,7 +8,7 @@ config SND_SOC_SPRD the Spreadtrum SoCs' Audio interfaces. config SND_SOC_SPRD_MCDT - bool "Spreadtrum multi-channel data transfer support" + tristate "Spreadtrum multi-channel data transfer support" depends on SND_SOC_SPRD help Say y here to enable multi-channel data transfer support. It diff --git a/sound/soc/sprd/sprd-mcdt.h b/sound/soc/sprd/sprd-mcdt.h index 9cc7e207ac76..679e3af3baad 100644 --- a/sound/soc/sprd/sprd-mcdt.h +++ b/sound/soc/sprd/sprd-mcdt.h @@ -48,7 +48,7 @@ struct sprd_mcdt_chan { struct list_head list; }; -#ifdef CONFIG_SND_SOC_SPRD_MCDT +#if IS_ENABLED(CONFIG_SND_SOC_SPRD_MCDT) struct sprd_mcdt_chan *sprd_mcdt_request_chan(u8 channel, enum sprd_mcdt_channel_type type); void sprd_mcdt_free_chan(struct sprd_mcdt_chan *chan); -- 2.20.1