[U-Boot] [PATCH 4/7] tegra: Add I2C driver

Mike Frysinger vapier at gentoo.org
Sun Jan 8 06:57:02 CET 2012


On Monday 26 December 2011 13:11:48 Simon Glass wrote:
> --- /dev/null
> +++ b/drivers/i2c/tegra2_i2c.c
>
> +static int wait_for_tx_fifo_empty(struct i2c_control *control)
> ...
> +	while (timeout_us >= 0) {
> ...
> +	};

no semicolon here

> +static int wait_for_rx_fifo_notempty(struct i2c_control *control)
> ...
> +	while (timeout_us >= 0) {
> ...
> +	};

no semicolon here

> +static int wait_for_transfer_complete(struct i2c_control *control)
> ...
> +	while (timeout_us >= 0) {
> ...
> +	};

no semicolon here
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120108/93a22cf9/attachment.pgp>


More information about the U-Boot mailing list