[PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-01-22 Thread Albrecht Dreß
Improve the recovery of the MPC5200B's I2C bus from errors like bus hangs. Signed-off-by: Albrecht Dreß --- This patch introduces several improvements to the MPC5200B's I2C driver as to improve the recovery from error conditions I encountered when testing a custom board with several I2C device

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-01-24 Thread Ben Dooks
On Fri, Jan 22, 2010 at 09:17:55PM +0100, Albrecht Dreß wrote: > Improve the recovery of the MPC5200B's I2C bus from errors like bus > hangs. This is very sparse comapred to the large comment below the --- line, maybe some more description should be living up here. Is thios a candidate for an -r

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-01-25 Thread Albrecht Dreß
Am 25.01.10 05:06 schrieb(en) Ben Dooks: On Fri, Jan 22, 2010 at 09:17:55PM +0100, Albrecht Dreß wrote: Improve the recovery of the MPC5200B's I2C bus from errors like bus hangs. This is very sparse comapred to the large comment below the --- line, maybe some more description should be livin

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-02-16 Thread Grant Likely
Hi Albrecht, Comments below. On Fri, Jan 22, 2010 at 1:17 PM, Albrecht Dreß wrote: > Improve the recovery of the MPC5200B's I2C bus from errors like bus > hangs. > > Signed-off-by: Albrecht Dreß > > --- > > This patch introduces several improvements to the MPC5200B's I2C driver > as to improv

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-02-16 Thread Ira W. Snyder
On Fri, Jan 22, 2010 at 09:17:55PM +0100, Albrecht Dreß wrote: > Improve the recovery of the MPC5200B's I2C bus from errors like bus > hangs. > > Signed-off-by: Albrecht Dreß > > --- > > This patch introduces several improvements to the MPC5200B's I2C driver > as to improve the recovery from

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-02-16 Thread Albrecht Dre�
atum: 16.02.2010 20:31 Betreff: Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery > Hi Albrecht, > > Comments below. > > On Fri, Jan 22, 2010 at 1:17 PM, Albrecht Dreß > wrote: > > Improve the recovery of the MPC5200B's I2C bus from errors like bus > > hang

Re: [PATCH/RFC 1/2] 5200: improve i2c bus error recovery

2010-02-16 Thread Albrecht Dre�
Hi Ira: [snip] > I see this exact hang on a MPC8349EA board. I poll my i2c sensors every > 500ms, and it takes around 12 hours to produce a hang. The usual hang > has (CF | BB) set, however I have seen a hang with just BB (only once so > far in about 2 weeks). > > I think the fixup should be run