[PATCH] i2c: imx: change dev_info to dev_dbg to reduce dummy log

2015-07-27 Thread Fugang Duan
and confused. So change the dev_info() to deb_dbg() to avoid print dummy and redundant log. Signed-off-by: Fugang Duan b38...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c

[PATCH] i2c: imx: double check IIF in case interrupt lost

2014-08-14 Thread Fugang Duan
. The patch just to double check IIF in case interrupt lost. Signed-off-by: Fugang Duan b38...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index aa8bc14..f3845cb

[PATCH] i2c: imx: double check IIF in case interrupt lost

2014-08-14 Thread Fugang Duan
. The patch just to double check IIF in case interrupt lost. Signed-off-by: Fugang Duan b38...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index aa8bc14..4b63771

[PATCH] i2c: imx: update i2c clock divider for each transaction

2014-05-19 Thread Fugang Duan
. In low bus freq mode, IPG_CLK is at 12MHz and IPG_PERCLK is down to 4MHz. So the I2C driver must update the divider register for each transaction when the current IPG_PERCLK is not equal to the clock of previous transaction. Signed-off-by: Fugang Duan b38...@freescale.com --- drivers/i2c/busses

[PATCH] i2c: imx: fix the i2c bus hang issue when do repeat restart

2014-04-30 Thread Fugang Duan
. Signed-off-by: Fugang Duan b38...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 41 ++--- 1 files changed, 30 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index db895fb..6c2ac05 100644 --- a/drivers