[Meego-kernel] [PATCH 6/8] Exposed testmode module parameters by default
Chris Leech
Christopher.Leech
Tue Sep 28 08:46:29 PDT 2010
On 09/27/2010 04:54 PM, Gorby, Russ wrote:
>
>
> This patch exposes the testmode module parameter by default to enable
> test and validation of production drivers
> This is a delta patch based on Alan's 2.6-mid-ref repo
>
> Signed-off-by: Russ Gorby<richardx.r.gorby at intel.com>
> ---
> @@ -1120,6 +1115,7 @@ static int ifx_spi_spi_probe(struct spi_device *spi)
> spi->bits_per_word = 8;
>
> /* controller_data must match what the SPI controller driver uses */
> + spi->controller_data = NULL;
> spi->max_speed_hz = 12500000;
> ret = spi_setup(spi);
> if (ret) {
What does this have to do with the testmode parameter?
Shouldn't controller_data be left to the controller driver?
- Chris
More information about the Meego-kernel
mailing list