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-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to