Implement the SPI-GPIO delay function for busses that need speed limitation.
If the special all-inline API is used, the delay is disabled at compiletime.
Otherwise it's an unlikely condition that can be disabled via max_speed_hz.
So it should have minimal or zero impact on the speed of implementati
gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1.
Sanitize the value to a 0/1 boolean.
Signed-off-by: Michael Buesch
---
Well, we could also change the bitbang helpers in linux/spi/spi_bitbang.h
or change the way the gpio_get_value API is defined, but I personally think
this
On Sunday 15 February 2009 14:27:36 Florian Fainelli wrote:
> Hi Michael,
>
> Le Saturday 14 February 2009 21:27:19 Michael Buesch, vous avez écrit :
> > The GPIO API is supposed to return 0 or a negative error code,
> > but the SSB GPIO functions return the bitmask of the GPIO register.
> > Fix t
Hey again Lorenzo,
Le Saturday 14 February 2009 15:01:51 OrazioPirataDelloSpazio (Lorenzo), vous
avez écrit :
> Hi all,
> I want to test a Jabber/XMPP lightweight server.
> I find this one, that is written in LUA, and that is the only one that
> can be ported to embedded device(to the best of my
Hi Michael,
Le Saturday 14 February 2009 21:27:19 Michael Buesch, vous avez écrit :
> The GPIO API is supposed to return 0 or a negative error code,
> but the SSB GPIO functions return the bitmask of the GPIO register.
> Fix this by ignoring the bitmask and always returning 0. The SSB GPIO
> funct
Jan Willies írta:
> Signed-off-by: Jan Willies
> ---
> package/mac80211/Makefile | 31 ++-
> 1 files changed, 22 insertions(+), 9 deletions(-)
>
> diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
> index c5a4bfd..723fb2a 100644
> --- a/package/mac8