[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170524170022.7rlib5c6ijw4aakg@sirena.org.uk>
Date: Wed, 24 May 2017 18:00:22 +0100
From: Mark Brown <broonie@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Chris Packham <chris.packham@...iedtelesis.co.nz>,
linux-spi <linux-spi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] spi: use gpio_desc instead of numeric gpio
On Tue, May 23, 2017 at 09:28:22PM +0300, Andy Shevchenko wrote:
> On Tue, May 23, 2017 at 7:03 AM, Chris Packham
> > By using a gpio_desc and gpiod_set_value() instead of a numeric gpio and
> > gpio_set_value() the gpio flags are taken into account. This is useful
> > when using a gpio chip-select to supplement a controllers native
> > chip-select.
> I think would be better to move everything in SPI core to GPIO descriptors.
Yes, this sort of bodge is just far too ugly and I'd not trust it to
continue to work.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists