From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from heliosphere.sirena.org.uk ([172.104.155.198]:54156 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934353AbeCEKmY (ORCPT ); Mon, 5 Mar 2018 05:42:24 -0500 Date: Mon, 5 Mar 2018 10:42:22 +0000 From: Mark Brown To: Sasha Levin Cc: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Javier Martinez Canillas Subject: Re: [PATCH AUTOSEL for 4.9 113/219] ASoC: wm8978: Add OF device ID table Message-ID: <20180305104222.GF8588@sirena.org.uk> References: <20180303222716.26640-1-alexander.levin@microsoft.com> <20180303222716.26640-113-alexander.levin@microsoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gneEPciiIl/aKvOT" Content-Disposition: inline In-Reply-To: <20180303222716.26640-113-alexander.levin@microsoft.com> Sender: stable-owner@vger.kernel.org List-ID: --gneEPciiIl/aKvOT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 03, 2018 at 10:29:01PM +0000, Sasha Levin wrote: > From: Javier Martinez Canillas >=20 > [ Upstream commit 5cf015d9cb02c360582b624497b0a1716881cf28 ] >=20 > The driver doesn't have a struct of_device_id table but supported devices > are registered via Device Trees. This is working on the assumption that a > I2C device registered via OF will always match a legacy I2C device ID and > that the MODALIAS reported will always be of the form i2c:. >=20 > But this could change in the future so the correct approach is to have an > OF device ID table if the devices are registered via OF. Here also. --gneEPciiIl/aKvOT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlqdHw4ACgkQJNaLcl1U h9Be9Qf9Ha7eb0bmwkXor6eEYEwTCcogANM+JPjzrsl+QI5SBJZ7mdR8ejydY5Fb MBZnNwJs+QGnGKNrIODzRlsqk3mM9FzczUkykQOzGRbWCmrs+nMOzDVv7z4/9nZz W9w5JB6wsWb95/F8QfvUlG/yyNR/cfP8lAG88vXOVwBF/+WyTmDvVvMHW+xOBgQE Q9mb0AXPC55kLuusarJwzzqvD/RBMvK/qZ2gtwW5nybwgI1RgSQm8iobEoendI3N jzylNHhreshzVwWKuCIn25Y4vV/unXs+RW+ib3gQuCZrfdsy9uufrwoVmALhLFK1 Qmukyb05CMT0lJncePE/B2GdrdstnQ== =epbp -----END PGP SIGNATURE----- --gneEPciiIl/aKvOT--