Re: [PATCH v5 2/7] i2c: designware: refactoring of the i2c-designware

2016-12-28 Thread Luis Oliveira
On 28-Dec-16 15:12, Andy Shevchenko wrote: > On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: >> - Factor out all _master() part of code from i2c-designware-core >> and i2c-designware-platdrv to separate functions. >> - Standardize all code related with MASTER mode. >> - I have to take off

Re: [PATCH v5 2/7] i2c: designware: refactoring of the i2c-designware

2016-12-28 Thread Andy Shevchenko
On Wed, 2016-12-28 at 14:43 +, Luis Oliveira wrote: > - Factor out all _master() part of code from i2c-designware-core >   and i2c-designware-platdrv to separate functions. > - Standardize all code related with MASTER mode. > - I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK

[PATCH v5 2/7] i2c: designware: refactoring of the i2c-designware

2016-12-28 Thread Luis Oliveira
- Factor out all _master() part of code from i2c-designware-core and i2c-designware-platdrv to separate functions. - Standardize all code related with MASTER mode. - I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK because it is master specific. The purpose of this is to pre