lkml.org 
[lkml]   [2017]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RESEND PATCH v6 2/6] i2c: designware: refactoring of the i2c-designware
From
Date
On 03/01/17 17:59, 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
> because it is master specific.
>
> The purpose of this is to prepare the controller to have is I2C MASTER
> flow in a separate driver. To do this first all the
> functions/definitions related to the MASTER flow were identified.
>
> Signed-off-by: Luis Oliveira <lolivei@synopsys.com>
> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> V5->v6
> - Removed the __func__ of dev_dbg prints
> - Fix i2c_dw_configure_master() to accept dw_i2c_dev *
>
> drivers/i2c/busses/i2c-designware-core.c | 56 +++++++++++++++++------------
> drivers/i2c/busses/i2c-designware-platdrv.c | 31 +++++++++-------
> 2 files changed, 52 insertions(+), 35 deletions(-)
>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

\
 
 \ /
  Last update: 2017-03-02 14:56    [W:0.404 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site