From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECD22C433E0 for ; Fri, 12 Mar 2021 11:59:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ADAE864FEA for ; Fri, 12 Mar 2021 11:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbhCLL7G (ORCPT ); Fri, 12 Mar 2021 06:59:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:53054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbhCLL7C (ORCPT ); Fri, 12 Mar 2021 06:59:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 25FA864F8E; Fri, 12 Mar 2021 11:59:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615550341; bh=IBDqJoDaZNbdtN7kKbweSS8qcSuhdTfquftSiElde+A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u6n+XCDbYLNLeYGMmRYHLTbBSm6rGBN2hxCrMt8xsFNTIkESm+PK7Km5qeiET27/b G3n0ab2FeGl837QnaaKEmoZxXzJIcX3K01tD9afHx3X1XgYjk8nn8nom4KycNOwTr5 /ncCfv2GrQGoug6kLO6fZ6EUFvQqsxA7k3qcdnsAIhIQHxfZGrJ1UJH8oEQ8n9wNkV jD+Rzbm5/gD3jgNm9p5REut5gHb48pF27PS5jSo+bAqa6R/jgpDP0nIeeAGJrPi9IR 1CJD/O4LPRI0vX4fc0uYwrg6nsGlMZSaLhxS0AQ6GNDddqjsTdLEbcVgxaXz9tJFGv PS+fmlWjcG1fw== Date: Fri, 12 Mar 2021 11:57:48 +0000 From: Mark Brown To: Daniel Baluta Cc: Daniel Baluta , Linux-ALSA , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Linux Kernel Mailing List , dl-linux-imx , Ranjani Sridharan , Pierre-Louis Bossart , "S.j. Wang" , Daniel Baluta Subject: Re: [PATCH] ASoC: core: Don't set platform name when of_node is set Message-ID: <20210312115748.GC5348@sirena.org.uk> References: <20210309082328.38388-1-daniel.baluta@oss.nxp.com> <20210309153455.GB4878@sirena.org.uk> <20210312104931.GA5348@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="32u276st3Jlj2kUU" Content-Disposition: inline In-Reply-To: X-Cookie: Lake Erie died for your sins. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --32u276st3Jlj2kUU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 12, 2021 at 12:59:29PM +0200, Daniel Baluta wrote: > On Fri, Mar 12, 2021 at 12:50 PM Mark Brown wrote: > > If an explicit name has been provided why would we override it with an > > autogenerated one? > Wait, are you asking why the initial code: > dai_link->platforms->name = component->name; > is there in the initial code? No, just the opposite! If there's an explict name configured why do you want to ignore it? --32u276st3Jlj2kUU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBLVzsACgkQJNaLcl1U h9A8Gwf/RHWQwo8AjQuTNGA5yI1bywJOF8ecu7LHu7DhZ/ZApBvED6dbYKVaxcRH UCZqf6UA6hGB+RvdAcf/Y9/RT4aJ8eSfILl3P6PV1SdY2YkoRL3PU1Q84fUeYLIa JSM580kmhRnsLp7/riyh+WCS/EPHcrjXGJ57wdLhGSvKk2yjjsQ1sIvbkxWBAyuW +OBBu1a0V0gOoMlrZtzkYAu8k0VJZfWFwYCCfxD9+CPF9Bbghu670m2rZgmNQZ9y cXSeQvWL53LFCjSV0ZX1ydQ5VBgdFovl7TCOqRQaX7C+6584yaO3jqVP6joLTQBK 8X7mF0a189/KhC99B3RDNNs6Qkw/hA== =d5xv -----END PGP SIGNATURE----- --32u276st3Jlj2kUU--