Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752350AbdHDLoI (ORCPT ); Fri, 4 Aug 2017 07:44:08 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:50378 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbdHDLoH (ORCPT ); Fri, 4 Aug 2017 07:44:07 -0400 Date: Fri, 4 Aug 2017 12:43:54 +0100 From: Mark Brown To: Jan Kiszka Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Andy Shevchenko , Mika Westerberg , linux-spi , Linux Kernel Mailing List , linux-arm-kernel Message-ID: <20170804114354.yxbaagwzmb5ri2hf@sirena.org.uk> References: <5a691263ccf9d61134d6184861b37eaf37b13b77.1501760433.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="egrmqvzbqs2k3d4u" Content-Disposition: inline In-Reply-To: <5a691263ccf9d61134d6184861b37eaf37b13b77.1501760433.git.jan.kiszka@siemens.com> X-Cookie: Not exactly as shown. User-Agent: NeoMutt/20170609 (1.8.3) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH RFC 2/2] spi: pxa2xx: Only claim CS GPIOs when the slave device is created X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 32 --egrmqvzbqs2k3d4u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 03, 2017 at 01:40:33PM +0200, Jan Kiszka wrote: > From: Jan Kiszka >=20 > Avoid hogging chip select GPIOs just because they are listed for the > master. They might be mulitplexed and, if no slave device is attached, > used for different purposes. Moreover, this strategy avoids having to > allocate a cs_gpiods structure. This doesn't apply against current code, please check and resend. --egrmqvzbqs2k3d4u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmEXfkACgkQJNaLcl1U h9AFtAf8DEFoNuCcBizPkbsVuuSoBNX9CUW0zSljMdFl6ZMNGFcan+dhmgXSiH5e ReHBO9tQHoetqtxKp90w07NcMNStcwaiDZJ6jfXUnWIf6MFDLwunJbfEIYfWzx7f Ep9TskYZ2m1eHjko/S/0fD8cVBXDRmAKlcV257/+mrfxMWMJeqC2mkyum4wz2i3m ZIOSa62fsqBLK2AVMHtcEHm0Wa8vU85zOntgl4YFQrE8NFQiSg7rLuLzwObDtTus pCLeWTtWwk+nCcKJz7s3owXY2cJqc3aJGXHj8xm1kHtVFGdv1wgD6U9Rj7eZ6kRQ l9chDsi3RM6Ilrt1DrSLiv8AVWxb/Q== =JSZ3 -----END PGP SIGNATURE----- --egrmqvzbqs2k3d4u--