Re: [RFC][PATCH v2 2/3] spi_bitbang : get nsecs delay from csduring transfer
From: Wolfram Sang
Date: Fri Dec 10 2010 - 06:46:19 EST
Hi,
thanks for the submission. It has some issues, though:
On Thu, Dec 09, 2010 at 03:34:55PM -0500, Ben Gardiner wrote:
> + nsecs =
> +#if defined(CONFIG_SLOWER_SPI_GPIO)
> + !cs->nsecs ? cs->nsecs : 100;
> +#else
> + 100;
> +#endif
This coding style is very hard to read and gains nothing for it. Also,
slower_spi should rather be a per-device than a config option.
Kind regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Attachment:
signature.asc
Description: Digital signature