Re: [PATCH] i2c: designware: Don't mask TX_EMPTY if write is in progress

2015-11-01 Thread Jisheng Zhang
Dear Jarkko, On Fri, 30 Oct 2015 14:03:53 +0200 Jarkko Nikula wrote: > Hi > > On 10/30/2015 09:37 AM, Jisheng Zhang wrote: > > Currently when i2c_msg index search is completed, TX_EMPTY interrupt > > will be masked. But if the size of i2c_msg data is longer than the size > > of the tx buffer,

Re: [PATCH] i2c: designware: Don't mask TX_EMPTY if write is in progress

2015-10-30 Thread Jarkko Nikula
Hi On 10/30/2015 09:37 AM, Jisheng Zhang wrote: Currently when i2c_msg index search is completed, TX_EMPTY interrupt will be masked. But if the size of i2c_msg data is longer than the size of the tx buffer, we still need TX_EMPTY interrupt, otherwise we will get "controller timed out" error.