]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: omap2-mcspi: Add gpio_request and init CS
authorMichael Welling <mwelling@ieee.org>
Fri, 8 May 2015 18:31:01 +0000 (13:31 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 8 May 2015 18:55:04 +0000 (19:55 +0100)
commitbc7f9bbc80bcc77745b3f54ec4e7103e3e142bb9
tree350dbcbf84efaed0050dbc5bb5190df770d0255c
parentb28cb9414db9f8e42ac18c9e360e4e99cda42489
spi: omap2-mcspi: Add gpio_request and init CS

If GPIO chip select is specified, request the GPIO in the setup function
and release it in the cleanup function.

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c