[PATCH] i2c-bfin-twi: abort transfer is MEM bit is reset unexpectedly

2011-06-23 Thread Mike Frysinger
From: Sonic Zhang Sometimes, the first I2C transmit interrupt is not serviced in time (like when higher priority interrupts take too long). Since the RESTART bit is not set before the next I2C clock, when the TWI handler is finally called, the I2C session is aborted (MEM bit is reset) and both S

Re: [PATCH] i2c-ali1535: fix styles issues

2011-06-23 Thread Jean Delvare
Hi Corentin, On Wed, 15 Jun 2011 17:49:31 +0200, corentin.labbe wrote: > Hello > > This is a fix-style patch for i2c-ali1535. (issue reported by checkpatch.pl) > > Signed-off-by: LABBE Corentin > > --- linux/drivers/i2c/busses/i2c-ali1535.c.orig 2011-06-15 > 16:31:33.0 +0200 > +

[PATCH] i2c: Support for Netlogic XLR/XLS on-chip I2C controller.

2011-06-23 Thread Jayachandran C.
From: Ganesan Ramalingam - platform.c : add i2c platform device - i2c-xlr.c : algorithm and i2c adaptor - Kconfig/Makefile: add CONFIG_I2C_XLR option Signed-off-by: Ganesan Ramalingam Signed-off-by: Jayachandran C --- arch/mips/configs/nlm_xlr_defconfig |4 + arch/mips/netlogic/xlr/platfo

[PATCH] i2c-s3c2410: Remove useless break code

2011-06-23 Thread Kukjin Kim
From: Jonghwan Choi Signed-off-by: Jonghwan Choi Signed-off-by: Kukjin Kim --- drivers/i2c/busses/i2c-s3c2410.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 6c00c10..553b9cc 100644 --- a/drive

[PATCH] i2c-s3c2410: Fix typo 'i2s' -> 'i2c'

2011-06-23 Thread Kukjin Kim
From: Huisung Kang Signed-off-by: Huisung Kang Signed-off-by: Kukjin Kim --- drivers/i2c/busses/i2c-s3c2410.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 553b9cc..f84a63c 100644 --- a/dr

Re: Need to use a I2C EEPROM on normal x86 architecture

2011-06-23 Thread Jean Delvare
Hi Christian, On Tue, 21 Jun 2011 13:54:52 +0200, Christian Gmeiner wrote: > Hi community, > > I am working on an embedded x86 device, which has an at24 based > eeprom. I am using > the i2c_eg20t driver to access the i2c bus. To be able to access the > eeprom in a separated > driver I did this: >

Re: [PATCH] i2c-eg20t : Fix the issue of Combined R/W transfer mode

2011-06-23 Thread Tomoya MORINAGA
(2011/06/23 16:52), Alexander Stein wrote: Do you have any other local pending patches which are not in git yet? I can't find this for loop in current master. I sent a patch for i2c-eg20t in 9-June which haven't been reviewed yet by i2c maintainer. -- tomoya OKI SEMICONDUCTOR CO., LTD. --

Re: [PATCH] i2c-eg20t : Fix the issue of Combined R/W transfer mode

2011-06-23 Thread Alexander Stein
On Thursday 23 June 2011 09:17:10 Tomoya MORINAGA wrote: > @@ -672,7 +672,7 @@ static s32 pch_i2c_xfer(struct i2c_adapter *i2c_adap, > /* transfer not completed */ > adap->pch_i2c_xfer_in_progress = true; > > - for (i = 0; i < num; i++) { > + for (i = 0; i < num && ret >= 0; i+

[PATCH] i2c-eg20t : Fix the issue of Combined R/W transfer mode

2011-06-23 Thread Tomoya MORINAGA
issue-1 In case combined transfer mode fails halfway, the processing must be stopped halfway. However currently, the processing is continued. This patch breaks the processing. issue-2 Currently, pch_i2c_xfer returns read/write size at that time. However pch_i2c_xfer must return the number of mess