Thread (1 message) 1 message, 1 author, 2015-03-04

Re: [PATCH 1/2] SPI: control CS via standard GPIO operations instead of SPI-HW

From: Martin Sperl <hidden>
Date: 2015-03-04 17:38:14
Also in: linux-spi

On 04.03.2015, at 18:01, Marc Kleine-Budde [off-list ref] wrote:

You might want to use gpio_is_valid() instead of open coding it.
Under ideal circumstances spi_set_cs() would be GPL exported and then
I would not have to duplicate the code.

And there it is implemented like this, so my code includes it.

I just have kept the patch simple - in the long-run we should move that
route I assume and fix the code there to use gpio_is_valid().

Martin




--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help