[PATCH] spi/imx: Fix spi-imx when the hardware SPI chipselects are used

Fabio Estevam festevam at gmail.com
Thu Sep 15 14:27:59 EDT 2011


2011/9/15 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
...
> I think this is wrong. My first guess is you need to move
>
>        spi_imx->chipselect[i] = cs_gpio;
>
> before
>
>        if (cs_gpio < 0)
>                continue;
>
> Does that make sense and works?

Yes, I was about to send a v2 even prior to getting your email.

Thanks,

Fabio Estevam



More information about the linux-arm-kernel mailing list