From patchwork Tue Feb 13 12:33:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 128225 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp4204512ljc; Tue, 13 Feb 2018 04:33:28 -0800 (PST) X-Google-Smtp-Source: AH8x227j90te03LpzFyFThSqw/CQDP1ygfoXKYO9+lPRf4pYElq96g1YLnoI9keF8fOXD1mB2vfZ X-Received: by 10.28.113.150 with SMTP id d22mr1146633wmi.127.1518525208581; Tue, 13 Feb 2018 04:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518525208; cv=none; d=google.com; s=arc-20160816; b=uPHDX7bcX0lsyvDJs1WjHnrkrMD0REUlDL+ucYfOZcc2LVpl3s7D1/i0peRtdmXDjB fQhFwBehbcD0Z+jrMlPwDjpvrrq8gNRn7Ky0X/dKV805qQaxWm1AAqYXmOXE9EYoBPDM jeUxGGYo/VnBbmDlpuyTo8vhvzXv7KW2sH7hfqiZeGzwxlUvNTJfm5ap2ihcZ3Q7L1lO PG7sYBiHSfn+yKO4wM7mV3cKjk2pMoSDrLdTS0Dn/9nI/7BM4L+HNDg5I1JX2pIJSrMQ eb0vtsUCBxtIz5IRCw38HOI+PXuSmDjGJ9gPbAeICIyY2sVUvlQQXbf55B3rzjzih+Om QlRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:date:message-id:in-reply-to:to:from :dkim-signature:delivered-to:arc-authentication-results; bh=5sOKV2OynzRcVdKozWdCo2tn+ecO9siOIkmX27sm8k0=; b=UK3nsaeiGqRpUV+09YuOrC53t3FPjR8YrmOglptGAg5Dir0SUwee/gEKwtUFlLe5yp FnrV5+2jaz7IQhB4BlX7Y2muGVKUFxA1JoJHYJ+jjhZmS4NvotDJTjAZGZfisjBzylB9 WihfeBLZqQxruNQ8bx6pMgQstb073d4/Mx0QR4nkROI2BoLVxRGi4u1296oFNgeVdB7F oMkYIcNAR/q2KYGAy4LO3KimjsjRWoeif5qMeLvhMVJWVYqT8ZLfkd9F07ezl+qSaANC 6eswtwHtkNoIdoyLx5VsR0Z81Bs7o1OBq5m9uhXPe7A3O9jQeW/oPA0cCTLArNG2oclw Hv7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AxvKiha3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id o184si5120543wma.190.2018.02.13.04.33.28; Tue, 13 Feb 2018 04:33:28 -0800 (PST) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=AxvKiha3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 1A43C267063; Tue, 13 Feb 2018 13:33:27 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E2346267716; Tue, 13 Feb 2018 13:33:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=disabled version=3.4.0 Received: from heliosphere.sirena.org.uk (heliosphere.sirena.org.uk [172.104.155.198]) by alsa0.perex.cz (Postfix) with ESMTP id 9B019266C0E for ; Tue, 13 Feb 2018 13:33:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=5M+D3VxVkYXN420mnWSFoh2JsS6fsGD7s9UGOFKUprw=; b=AxvKiha3ump1 KX/ocP7hL9i8XmD3SS5Bfrm+i+R1kPtgHwvd7vpUWDvOj6z/clAHGs7cKHvgCuC6MFeuwSiiFYSlY 4dA5IAKey46aEkA0VlOg3VWXUs2bM0Lq4fsM83+roBhSqH8xoYxYE6CbCmVmLst91/y7Q8AWK2YPR 8jSl8=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1elZlu-0006Vy-1R; Tue, 13 Feb 2018 12:33:18 +0000 Received: from broonie by debutante with local (Exim 4.90) (envelope-from ) id 1elZlt-0008BZ-IA; Tue, 13 Feb 2018 12:33:17 +0000 From: Mark Brown To: Kuninori Morimoto In-Reply-To: <878tbxlkbw.wl%kuninori.morimoto.gx@renesas.com> Message-Id: Date: Tue, 13 Feb 2018 12:33:17 +0000 Cc: Katsuhiro Suzuki , alsa-devel@alsa-project.org, Mark Brown Subject: [alsa-devel] Applied "ASoC: uniphier: aio-dma: replace platform to component" to the asoc tree X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org The patch ASoC: uniphier: aio-dma: replace platform to component 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 2b5803b95977d60f6e3c88672969b1da024fc3e8 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 13 Feb 2018 02:02:39 +0000 Subject: [PATCH] ASoC: uniphier: aio-dma: replace platform to component Now platform can be replaced to component, let's do it. Signed-off-by: Kuninori Morimoto Tested-by: Katsuhiro Suzuki Signed-off-by: Mark Brown --- sound/soc/uniphier/aio-dma.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.16.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c index 22f122a42442..ef7bafa8e171 100644 --- a/sound/soc/uniphier/aio-dma.c +++ b/sound/soc/uniphier/aio-dma.c @@ -259,7 +259,7 @@ static void uniphier_aiodma_free(struct snd_pcm *pcm) snd_pcm_lib_preallocate_free_for_all(pcm); } -static const struct snd_soc_platform_driver uniphier_soc_platform = { +static const struct snd_soc_component_driver uniphier_soc_platform = { .pcm_new = uniphier_aiodma_new, .pcm_free = uniphier_aiodma_free, .ops = &uniphier_aiodma_ops, @@ -313,6 +313,7 @@ int uniphier_aiodma_soc_register_platform(struct platform_device *pdev) if (ret) return ret; - return devm_snd_soc_register_platform(dev, &uniphier_soc_platform); + return devm_snd_soc_register_component(dev, &uniphier_soc_platform, + NULL, 0); } EXPORT_SYMBOL_GPL(uniphier_aiodma_soc_register_platform);