Re: [PATCH v4] i2c: core: helper function to detect slave mode

2017-01-28 Thread Wolfram Sang
On Thu, Jan 26, 2017 at 05:45:32PM +, Luis Oliveira wrote: > This function has the purpose of mode detection by checking the > device nodes for a reg matching with the I2C_OWN_SLAVE_ADDREESS flag. > Currently only checks using OF functions (ACPI slave not supported yet). > > Signed-off-by: Lui

[PATCH v4] i2c: core: helper function to detect slave mode

2017-01-26 Thread Luis Oliveira
This function has the purpose of mode detection by checking the device nodes for a reg matching with the I2C_OWN_SLAVE_ADDREESS flag. Currently only checks using OF functions (ACPI slave not supported yet). Signed-off-by: Luis Oliveira Suggested-by: Andy Shevchenko Reviewed-by: Andy Shevchenko