Re: [PATCH 2/2] spi: use gpio_desc instead of numeric gpio
From: Mark Brown
Date: Wed May 24 2017 - 13:06:48 EST
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.
Attachment:
signature.asc
Description: PGP signature