Re: [RFC PATCH 1/3] i2c: add 'actual' field to struct i2c_msg

2012-07-02 Thread Jean Delvare
On Fri, 29 Jun 2012 16:35:25 +0530, Shubhrajyoti D wrote: > In case of a NACK, it's wise to tell our clients > drivers about how many bytes were actually transferred. > > Support this by adding an extra field to the struct > i2c_msg which gets incremented the amount of bytes > actually transferred

Re: [RFC PATCH 1/3] i2c: add 'actual' field to struct i2c_msg

2012-06-29 Thread Jean Delvare
On Fri, 29 Jun 2012 16:35:25 +0530, Shubhrajyoti D wrote: > In case of a NACK, it's wise to tell our clients > drivers about how many bytes were actually transferred. > > Support this by adding an extra field to the struct > i2c_msg which gets incremented the amount of bytes > actually transferred