Re: [PATCH] i2c-eg20t : Fix the issue of Combined R/W transfer mode

From: Alexander Stein
Date: Thu Jun 23 2011 - 03:52:27 EST


On Thursday 23 June 2011 09:17:10 Tomoya MORINAGA wrote:
> @@ -672,7 +672,7 @@ static s32 pch_i2c_xfer(struct i2c_adapter *i2c_adap,
> /* transfer not completed */
> adap->pch_i2c_xfer_in_progress = true;
>
> - for (i = 0; i < num; i++) {
> + for (i = 0; i < num && ret >= 0; i++) {
> pmsg = &msgs[i];
> pmsg->flags |= adap->pch_buff_mode_en;
> status = pmsg->flags;

Do you have any other local pending patches which are not in git yet? I can't
find this for loop in current master.

Regards,
Alexander
--
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/