Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1136459pxf; Fri, 12 Mar 2021 02:52:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZAT2xjYks1yjGhw18eVU4pCYRD4L9QcTZ3kDgazCqaZ4rvBwGa8Z5PP1/tD2D4HDZO9XQ X-Received: by 2002:a17:906:d9d1:: with SMTP id qk17mr7823021ejb.52.1615546348273; Fri, 12 Mar 2021 02:52:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615546348; cv=none; d=google.com; s=arc-20160816; b=XQ+Rhc+k86FXAQhkPvNUK0dGsBz/wGGTEIXZdbOf/N+t9sdjmHBAP74HQxS1IgRdgh pUAcNats4Q4Loy7r1DNxxJ8GzJaoYt84IQGUNjaA5zkoi+M5Cs7peIerCNnp8VPk9JeC sP7RKEsdGYFD2N6eIkCzibkl4pJaoXXIPhcFUI1yrP2yTDf7dqAj5tixypTrhMean6ZL 3yRN7EWr61WdY5G40JKjJhyvIa/paGFsG2Q7rLGZG+x0j54FFVGP3CsT492Z4G2Tspki AGkqcNoZ5A9YEAxv+wjqu87X0LoypSc0Y29wBD0X7txEnH4HySOzS+tlkSgw9TS/CpMK 54bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xrOYzG062F3Vda1v+xcYa1t3FHDU3cDlU7+zlFfN24A=; b=GLvFz5j77+5VDdKGsrMBqVh72ebHCuCn38XAwRalrrHMGFOWbc/O6e550r4LTW37uq 2UYFUUQ3DX0+RdWpzQGABDcUICVJgIcYr4XH4eP+ZNW4WnuZtN0KAxNTdz8JvsO5PyEV 5MCh5Owg6dMFyg9oLuPQM7ZhiiLVRW+5y/jzaJBUXyXmdcc3WPNYgEDSZY/aKVaj6A3A lZEijw4i74nZRExO9Y+QHYM/6qtX/W/vwX61YcgTM5L6lDeUKW+Z6GD10WkdkUtAfYsM 5QN7HR6HyfciuyiIqS8MOGAwUQF7rsfduFHnDxAvMjhW/UK0vl2DaPagxYduoyIN6xWb BeEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EGkoAHZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j7si3739716ejc.237.2021.03.12.02.52.05; Fri, 12 Mar 2021 02:52:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EGkoAHZ7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233156AbhCLKvB (ORCPT + 99 others); Fri, 12 Mar 2021 05:51:01 -0500 Received: from mail.kernel.org ([198.145.29.99]:36810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233620AbhCLKuo (ORCPT ); Fri, 12 Mar 2021 05:50:44 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F174B65021; Fri, 12 Mar 2021 10:50:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615546244; bh=fgKpPGWl7vdkjYlq9KFgP4TmOGenokxAgG3aU4o71JY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EGkoAHZ79zm0HpbPJC1fOXOeeVwESsGko2HmFJdypim7agTxOBhI1QIl8NgHn4jnH u1lKjyKNHRY3jwRJnAwgFSfErfSW0fHdFR6Bk4BGeOczdoGAKSyOi/PDMVsedTUcZV rppAP5450ZSZ5geAA3vLXaZ0eoMnCWYxD8alfsUsNGMCd8v22EEYtlyxCFmcskiK4y 0E5YAPYum2/u5+gjOAOizGwbK5UALblRhWac40JBSs5fZDkdMRvvcTsktyBo/DiIAM PqAAV0xM5DD8d04jkpkKLMTvaSzBtrJ/G04MY5mAbdMDc+sp2JdixHQIGb3WNBN94t W5Napa7mNglcA== Date: Fri, 12 Mar 2021 10:49:31 +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: <20210312104931.GA5348@sirena.org.uk> References: <20210309082328.38388-1-daniel.baluta@oss.nxp.com> <20210309153455.GB4878@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" 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 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 12, 2021 at 10:32:54AM +0200, Daniel Baluta wrote: > On Tue, Mar 9, 2021 at 5:38 PM Mark Brown wrote: > > > + if (!dai_link->platforms->of_node) > > > + dai_link->platforms->name = component->name; > > Why would we prefer the node name over something explicitly configured? > Not sure I follow your question. I think the difference stands in the > way we treat OF vs non-OF platforms. If an explicit name has been provided why would we override it with an autogenerated one? --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBLRzoACgkQJNaLcl1U h9DHLgf/dCrl7QiN+jfF0cGbC1JdfYVq4HAVtswUrQEnPISDtyOBMpD2WjMCmM8j mAv2nD3wC8p0mFgDWKn/KEcmsj7KXiFO3sD63kQsiolJrk5rTX5NAtvHeVuXxZ8+ yQVlP6G8CVpAcjk6CcKpEtWp+cT1H2uDXq4XyGzILCfzlPNqfRRLU9wZesvB3mtS mpd1v/6aN6iXcbKYQWzD4jR70WsTAJw3IFcUtJCGejos6hHYSsrdhD8rPuT59WY7 T/lXXFVZM7+nwbd5AeL/CqlldmKcS40nfRevG9GbIkpm37kFdWvk0g1shf83owPB 6HOiE4Gctdl3DTxDYJgLfMNNXrZF/w== =pOj0 -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--