From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395AbdGQIHi (ORCPT ); Mon, 17 Jul 2017 04:07:38 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:33981 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751257AbdGQIHb (ORCPT ); Mon, 17 Jul 2017 04:07:31 -0400 Date: Mon, 17 Jul 2017 10:07:37 +0200 From: Johan Hovold To: Linus Walleij Cc: Johan Hovold , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "alsa-devel@alsa-project.org" , Kuninori Morimoto , "linux-kernel@vger.kernel.org" , stable Subject: Re: [PATCH 2/2] Revert "ASoC: ux500: drop platform DAI assignments" Message-ID: <20170717080737.GA29638@localhost> References: <20170712155530.17765-1-johan@kernel.org> <20170712155530.17765-2-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 14, 2017 at 03:36:57PM +0200, Linus Walleij wrote: > On Wed, Jul 12, 2017 at 5:55 PM, Johan Hovold wrote: > > > This reverts commit f1013cdeeeb9 ("ASoC: ux500: drop platform DAI > > assignments"), which seems to have been based on a misunderstanding and > > prevents the platform driver callbacks from being made (e.g. to > > preallocate DMA memory). > > > > The real culprit for the warnings about attempts to create duplicate > > procfs entries was commit 99b04f4c4051 ("ASoC: add Component level > > pcm_new/pcm_free" that broke PCM creation on systems that use more than > > one platform component. > > > > Fixes: f1013cdeeeb9 ("ASoC: ux500: drop platform DAI assignments") > > Cc: stable # 4.11 > > Cc: Linus Walleij > > Signed-off-by: Johan Hovold > > Reviewed-by: Linus Walleij > Tested-by: Linus Walleij > > These static assignments should go away, but not for the wrong reason. > So this patch is fully in order given the source of the bug. I assume you'll still need the of-related bits though (platform_of_node) even if you eventually make this driver use DT-instantiation only. Thanks again, Johan