Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp751459imu; Wed, 9 Jan 2019 05:53:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN5CpbR5O07vP48NYzw7gOWUlEU8DGwN0OxA2jN4nKkHaq/N8GhQyLGAAf6lsX0kmMuOYwTO X-Received: by 2002:a17:902:704b:: with SMTP id h11mr6135116plt.157.1547041985913; Wed, 09 Jan 2019 05:53:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547041985; cv=none; d=google.com; s=arc-20160816; b=xjOM3hG6QpQ6ALkDUiVVnhH8pbT47miJXohWW6pPMEdeJxXZKq5pJVMASukRk6kAqG B2WGDaxi1UB206r6OsRDNl4NYEY0dek5kGRllczgQVo+sqMWLfiU7fkARmFBz29jqnyK m2inFYaPKsGHJKRIrWrnUtFGZxgw/Kq/MCxFEXdh25jFbva3HQMyH4C5hqCTVVK0UKRs 4wWq7gTK8GW1/rSFRwNQtBMA3nM5iQa/J1nvWKEWW8pFe5FOn/mR8ZVNBJWnIvK/UMyX QIQf1N2dE7EZyOcTX606CYyE/5D08w+I7Kfc/w+Uu6G6A5iPg5ng6ooSvXqNl31M2KzF VooQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BcoIGHPMGUm3GN1U/z0BUReNVYNAlQdtFgQRREGBPw4=; b=RYDmY/KnSLVhss0ceZifjOIm2rvDbcsnNGRmXNOUDtjZxhQ4YIutFus8Zc1+El09yt wobUuoFyO1TsFwRjL5MB6BhCXpavBmgmvitOsSRQzfRoUM9wNxBfSV9XN25Up6pveejH LMhu3MAU1Op4NwpP72C5xboLm/iD2usykAM1++/HHbijR0mEtYjnJQZbbodDJFusgfGC UgECLfBD9BbKRdFIruxg6AWOgG4rAWWBLaZ/DJ+HdCecBSBa64kPinaF6g/BWzWiyPFl mu8AbgehY1ZrrNLxgUNzMna6gw/CC2HShHwrJn2OeWigzR5sXmo45rhbVcwZucax1RrT h7Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Gb4kvTNS; 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 a2si28623210pgd.461.2019.01.09.05.52.50; Wed, 09 Jan 2019 05:53:05 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=Gb4kvTNS; 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 S1730320AbfAIMxz (ORCPT + 99 others); Wed, 9 Jan 2019 07:53:55 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:57286 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729152AbfAIMxz (ORCPT ); Wed, 9 Jan 2019 07:53:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BcoIGHPMGUm3GN1U/z0BUReNVYNAlQdtFgQRREGBPw4=; b=Gb4kvTNS2Lg2rS9qFBm0p2WsM 2PphZdvYdfwc/S+QAWRlrmBGqTfsErTrJRMS0DBW18pKtMZigQ44kBOMqOe+UKkA0GyViYu4A7lkG ah0iCjamLG9opkdbfxKRmvbskffvN71JK89UCp9kOcGUQVOBts3SzBXOA36k4mDJotUFc=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1ghDMa-0007zr-JM; Wed, 09 Jan 2019 12:53:40 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 226F81127528; Wed, 9 Jan 2019 12:53:40 +0000 (GMT) Date: Wed, 9 Jan 2019 12:53:40 +0000 From: Mark Brown To: Jon Hunter Cc: Kuninori Morimoto , Liam Girdwood , linux-tegra@vger.kernel.org, Matthias Reichl , alsa-devel@alsa-project.org, Marcel Ziswiler , Takashi Iwai , linux-kernel@vger.kernel.org, Marcel Ziswiler Subject: Re: [alsa-devel] [PATCH v1 3/3] ASoC: soc-core: fix platform name vs. of_node assignement Message-ID: <20190109125340.GD10405@sirena.org.uk> References: <20181021112301.GC8554@sirena.org.uk> <20181218174040.k7u26vnnoplllnwb@camel2.lan> <952471da-b355-6471-6c19-5120d6704f81@nvidia.com> <87lg3vuc7p.wl-kuninori.morimoto.gx@renesas.com> <865d2a3e-bf6b-1f30-1179-7e922c0d0641@nvidia.com> <87k1je38w7.wl-kuninori.morimoto.gx@renesas.com> <0660a471-3698-2059-4494-ad146518a4ed@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3Gf/FFewwPeBMqCJ" Content-Disposition: inline In-Reply-To: <0660a471-3698-2059-4494-ad146518a4ed@nvidia.com> X-Cookie: VMS version 2.0 ==> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3Gf/FFewwPeBMqCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 09, 2019 at 11:03:44AM +0000, Jon Hunter wrote: > On 09/01/2019 01:51, Kuninori Morimoto wrote: > > "multi platform" is no plan (?). > I would like someone to explain what multi-platform means? Even if a > soundcard supports multiple platforms, there is only one platform you > are using at any time so ... Platform in this case means DMA driver (for historical reasons I've never entirely understood the DMA drivers got called the platform drivers). It is possible that a system might have multiple DMA implementations in a single sound card but fortunately we don't seem to run into that. > > I want to which to modern style immediately and remove legacy style. > > But as you know, we have too many ALSA SoC drivers now. > > So, if I posted "switch legacy style to modern style" patch > > for each (= for codec, for platform, for cpu), it will be patch-bomb, > > and Lars-Petter/Mark don't like it. > > Thus, I'm waiting "multi CPU" support patch. > Sorry, I still don't understand the dependency on the multi CPU and why > we need to wait. I believe Morimoto-san's concern is to minimize the number of refactorings of the drivers as that gets disruptive. That's definitely a valid concern but we can't postpone fixing bugs over releases, we need things to work for people. > > If CPU/Codec/Platform can be snd_soc_init_platform style, > > then, we can switch to modern style for all drivers. > > Then, all driver will have *static* platform. > > # So, I guess if your driver can switch to use > > # snd_soc_init_platform style directly, your problem can gone ? > Yes that is an alternative and I can convert all the Tegra machine > drivers to use this now. However, that will not solve the problem for > non-Tegra devices and everyone will have to do this. We're going to have to go through another round of conversions that touch everything at some point no matter what :/ --3Gf/FFewwPeBMqCJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlw17tMACgkQJNaLcl1U h9BKZwgAgiM09pC/S8pF3GuNtiVWeTFJvT4K9Ys03qD/pYCXjk4xmwhrfrvB736w kvJwQz0WGCYh96IYskAJMAfMKh8jzneCBHswcVCM9IruT0bTDXZll0VpC+6W0N1F yavk0QNgg8hWkQ61EMP1XQy3gS++DIoljTsNGT/7B87ikf/O3g+vA8e/tzrrxp9U CQt5cQH9lRfkHS6LGKZxGnuFnadmk+pRushWhfWeDRIQZESV4r4Wf8hb73d9SUJA B5ffkYQJmR9Ae39eQDVXEw0duXk/z3SChCfyKdh19yEpEKfan+9JATb8XDlVTFpE W6BCTdiNcQtc+3gfAjTTD9MOE56JBw== =zUC8 -----END PGP SIGNATURE----- --3Gf/FFewwPeBMqCJ--