lkml.org 
[lkml]   [2015]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/2] spi: omap2-mcspi: Add gpio_request and init CS
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?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-08 19:21    [W:0.040 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site