Re: [spi-devel-general] Re: question on spi_bitbang

From: David Brownell
Date: Fri Mar 31 2006 - 16:12:14 EST


On Friday 31 March 2006 12:52 pm, Kumar Gala wrote:

> What I'm looking at is the following:
>
> * use spi_bitbang_setup() as is
> * have my chipselect do:
> if (BITBANG_CS_INACTIVE)
> deassert GPIO pin for CS
> else
> set HW mode register (polarity, phase, bit length)
> assert GPIO pin for CS
> * setup_transfer()
> * set HW mode register (bit length)
> * call bitbang_setup_transfer()

And export bitbang_setup_transfer()? I guess that makes sense,
but you should probably rename it then to match the convention for
the other exported symbols.

Once that's all working, please submit the relevant patch.

- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/