From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] spi: Add the flag indicate to registe new device as children of master or not. Date: Wed, 19 Dec 2012 09:04:16 +0000 Message-ID: <20121219090416.GK4985@opensource.wolfsonmicro.com> References: <1355848174.1435.25.camel@chenjun-workstation> <20121218152623.GA26077@sirena.org.uk> <1355910243.1435.39.camel@chenjun-workstation> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="apbmkPN6Hu/1dI3g" Cc: grant.likely@secretlab.ca, linux-kernel@vger.kernel.org, Bi Chao , spi-devel-general@lists.sourceforge.net To: Jun Chen Return-path: Content-Disposition: inline In-Reply-To: <1355910243.1435.39.camel@chenjun-workstation> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org --apbmkPN6Hu/1dI3g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 19, 2012 at 04:44:03AM -0500, Jun Chen wrote: > This spi_alloc_device function will be called in the spi_new_device > function to alloc new device as the master. But other way, it is called > by the of_register_spi_devices function to register new device as the > children of the master. I will update changlog to add it.=20 But why is this a bad thing? You've said what's happening but not why it's a problem. --apbmkPN6Hu/1dI3g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJQ0YMIAAoJELSic+t+oim9Ht8P/37jJepygeTI8PpDeDauIf23 dqnVNhqstdFjS6ANsI1aV2/LjpR8E9qYK4nzMajrd1ImpBflWYj3/rx3sWrEfUWe dDoniTdBFFFH1dfsmlA8e2pvfjJO4VERL0DzWYrPG/Y5ik4aeqwALcIDKJQX0fr8 po3gQGYoGb/UVX6WDhc65k1EeG1wxlX9qfWauzyLMQrsv5l58RU0NkJYBKGRaDqD p/b36dJgjRqCE0JK9hibvib45s1tIBNVkU8rCBH7ss56wP9das7QvjftSdPMtTc/ ONBLjKQ9QzTlwXWYzY/ltC4qLrxCkg3PF5mpma2VfLR9bv9QcYA3LjoT4ZifUG8n e3qcJ2EjC6EWl7qWOFkEh6PoWfqhwBFkMNpXGYMUY2bzmAO/9Ydgs+ta4d+3CwzC SdxjNBTh7NEL+OYNjIzkhMm02KZfRrzflHo+PZV/5EEmUE0GS0Vxre5r4Q6ymLQp 9bLT77a+tYFAXuTwsVlsxdMuQW7ry1BMz+XZDAK78lDJ9BsUP4MnpCs3uLAVqfKW AEc97YHU/fwULF+7zT+rrBkpQFTsMoJVryR4iBn2y+nrraGhj+n6m93QZpeRFunC 50/lPbnXkarKaEfMRDXFFwlTGtaFE1niYzw5OTl2ZZkFKfBYh7iuKOtNL7M8aTDP ok6JqVqh/+t2yhch5LbJ =d/KR -----END PGP SIGNATURE----- --apbmkPN6Hu/1dI3g--