On Thu, May 07, 2015 at 06:36:54PM -0500, Michael Welling wrote:

> +     if (gpio_is_valid(spi->cs_gpio)) {
> +             if (gpio_request(spi->cs_gpio, dev_name(&spi->dev)) == 0)
> +                     gpio_direction_output(spi->cs_gpio,
> +                     !(spi->mode & SPI_CS_HIGH));
> +     }

I'm not seeing anything that frees this GPIO?

Attachment: signature.asc
Description: Digital signature

Reply via email to