Re: [PATCH 2/2] spi: qup: Request CS GPIO's during probe
From: Mark Brown
Date: Sat Mar 07 2015 - 06:00:03 EST
On Fri, Mar 06, 2015 at 05:26:18PM +0200, Ivan T. Ivanov wrote:
> Ensure that driver is owner of the GPIO's used for CS signals.
> + for (cs = 0; cs < master->num_chipselect; cs++) {
> + cs_gpio = of_get_named_gpio(dev->of_node, "cs-gpios", cs);
> +
Any new GPIO users should really be using the gpiod API, however this is
duplicating core functionality so as Stephen says why are we doing this?
Attachment:
signature.asc
Description: Digital signature