RE: [PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-08-04 Thread Tirdea, Irina
Peter Meerwald; linux-...@vger.kernel.org; linux- > i...@vger.kernel.org > Subject: Re: [PATCH v3 1/8] i2c: core: Add support for best effort block read > emulation > > > > > I wonder what devices do if you do a word read beyond their end address? > > > Perhaps

Re: [PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-08-01 Thread Wolfram Sang
> > I wonder what devices do if you do a word read beyond their end address? > > Perhaps in odd cases we should always fall back to byte reads? > > In my tests I can read beyond the end address, but I cannot be sure if this > is OK for all > devices. This was actually a suggestion from Wolfram f

Re: [PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-07-11 Thread Jonathan Cameron
: linux-kernel@vger.kernel.org; Pandruvada, Srinivas; Peter Meerwald >> Subject: Re: [PATCH v3 1/8] i2c: core: Add support for best effort block >> read emulation >> >> On 03/07/15 10:33, Irina Tirdea wrote: >>> There are devices that need to handle block trans

RE: [PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-07-10 Thread Tirdea, Irina
ubject: Re: [PATCH v3 1/8] i2c: core: Add support for best effort block read > emulation > > On 03/07/15 10:33, Irina Tirdea wrote: > > There are devices that need to handle block transactions > > regardless of the capabilities exported by the adapter. > > For perfo

Re: [PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-07-05 Thread Jonathan Cameron
On 03/07/15 10:33, Irina Tirdea wrote: > There are devices that need to handle block transactions > regardless of the capabilities exported by the adapter. > For performance reasons, they need to use i2c read blocks > if available, otherwise emulate the block transaction with word > or byte transac

[PATCH v3 1/8] i2c: core: Add support for best effort block read emulation

2015-07-03 Thread Irina Tirdea
There are devices that need to handle block transactions regardless of the capabilities exported by the adapter. For performance reasons, they need to use i2c read blocks if available, otherwise emulate the block transaction with word or byte transactions. Add support for a helper function that wo