From patchwork Tue Aug 29 19:29:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Brown X-Patchwork-Id: 111248 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1832521qge; Tue, 29 Aug 2017 12:31:01 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5BhXUf6Xz/gj0z70E6AQkls1svuQK7BORvGaWXPEfnCFHbbNLPNi4/zEQpnSRTqXynaqEq X-Received: by 10.28.143.133 with SMTP id r127mr311116wmd.55.1504035061130; Tue, 29 Aug 2017 12:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504035061; cv=none; d=google.com; s=arc-20160816; b=A8zdhwdncT/a3H9QqfYZZDoQ1jRSbaHGtQEJ6k857tNthQAHd4R2BrRvzLu8Ex6L43 LCeOn/n7V/zVw6/R79Hbm1MXQaqoOwhICi2z2IP6RcHtZ2qHWrTlQI11OIuWJPcf0g9D S8+cyTu3q0FC8/2Rpvf4VVD4EJUEejU2AeilBHbnF9VWMwXLGCOPRkTFfgc6P8/errWf nV3TriaHf59v+HR8oV7z672qlcbTfu+IM61vIdzK49ixZluZaXJqXxnNDzLpCBYt4t2x 5H1HpkcyFra/+CBTaYma97QJx8NazSi8FnJtzE1vErQYgbvaIOk1o3WiFTVuygmnItBB 37Bg== 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=Iz4arv9C9E+iAManGNAgpsfeR2wymm+s3f9IvFpONuw=; b=qUf4OrvJMyIhjm4I8tZfzM53UIpIo5s//tX/x9pJd3TJCPUKVF00oK2lfX9Tujh1b/ IfV+M2S82oFIvQpj7pfLZuysDvMLPo7BgzhWMEuc3S+HzUf+1HpikSqAZpQZEyc/hz7f rzr8uauJfjJXufbaxa5UFbEojUMQdbUTAOEfvQR/LFAv/HBq49atiknS6yZ5jKHb8ddK nN/4nFxFqYrwMSPtl0JkeaFVMlHz+iHHX8Lg/Yregl579thiJEXv1hYxVoxZwYTwAnzc iyosUB+4x4iG7tMx6e7ec1qjRYnavl5Th1F6pkMog3OT5ipTDX+W0FHwrRc/x1Y0aKPF YVTQ== 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=gKZ+JXT/; 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 y35si3079436wry.92.2017.08.29.12.31.00; Tue, 29 Aug 2017 12:31:01 -0700 (PDT) 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=gKZ+JXT/; 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 324E5267092; Tue, 29 Aug 2017 21:30:22 +0200 (CEST) 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 50F5F26707F; Tue, 29 Aug 2017 21:30:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, RP_MATCHES_RCVD, SPF_PASS, URIBL_BLOCKED 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 527C8267026 for ; Tue, 29 Aug 2017 21:29:51 +0200 (CEST) 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=g4tnthCwXv4uk1MFdp3v5sq8FSOfOxX40pRD+PCf23A=; b=gKZ+JXT/aIuW HbkWRYNa2SESRu2K8gEjgpjOVs5ylayVOiH0+SbYhnZliOyBOcCt8aQwFOH0wBgjG4RULuYWENBD5 OnEAfYok7WGlrjDnuGAEmMzAkI+UspUM/o+6x8bkE5QJ0+hrM381UPGofd0lKGTDpLa+AZWye+GA1 S/0mY=; Received: from 92.40.248.112.threembb.co.uk ([92.40.248.112] helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1dmmCn-0003yP-0I; Tue, 29 Aug 2017 19:29:45 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 48E884400E7; Tue, 29 Aug 2017 20:29:44 +0100 (BST) From: Mark Brown To: Rob Herring In-Reply-To: <20170829123755.9496-1-robh@kernel.org> Message-Id: <20170829192944.48E884400E7@finisterre.ee.mobilebroadband> Date: Tue, 29 Aug 2017 20:29:44 +0100 (BST) Cc: alsa-devel@alsa-project.org, Xiubo Li , Takashi Iwai , Liam Girdwood , Timur Tabi , Nicolin Chen , Mark Brown , Fabio Estevam , linuxppc-dev@lists.ozlabs.org Subject: [alsa-devel] Applied "ASoC: fsl_dma: remove dma_object path member" 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: fsl_dma: remove dma_object path member has been applied to the asoc tree at git://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 b1dc00abcf18d27b36de500c150be88022c82270 Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Tue, 29 Aug 2017 07:37:55 -0500 Subject: [PATCH] ASoC: fsl_dma: remove dma_object path member dma_object.path is unused, so rather than fix it to work with DT full_name changes, just remove it. Signed-off-by: Rob Herring Cc: Timur Tabi Cc: Nicolin Chen Cc: Xiubo Li Cc: Fabio Estevam Cc: Liam Girdwood Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org Reviewed-by: Fabio Estevam Signed-off-by: Mark Brown --- sound/soc/fsl/fsl_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.13.2 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index c17359648915..0c11f434a374 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c @@ -63,7 +63,6 @@ struct dma_object { struct ccsr_dma_channel __iomem *channel; unsigned int irq; bool assigned; - char path[1]; }; /* @@ -903,13 +902,12 @@ static int fsl_soc_dma_probe(struct platform_device *pdev) return ret; } - dma = kzalloc(sizeof(*dma) + strlen(np->full_name), GFP_KERNEL); + dma = kzalloc(sizeof(*dma), GFP_KERNEL); if (!dma) { of_node_put(ssi_np); return -ENOMEM; } - strcpy(dma->path, np->full_name); dma->dai.ops = &fsl_dma_ops; dma->dai.pcm_new = fsl_dma_new; dma->dai.pcm_free = fsl_dma_free_dma_buffers;