Re: [PATCH] i2c-cpm: Detect and report NAK right away instead of timing out.

2008-11-03 Thread Jochen Friedrich
Hi Ben, > On Fri, Oct 31, 2008 at 05:29:25PM -0700, Mike Ditto wrote: >> Make the driver report an ENXIO error immediately upon NAK instead of >> waiting for another interrupt and getting a timeout. >> >> Signed-off-by: Mike Ditto <[EMAIL PROTECTED]> Acked-by: Jochen Friedrich <[EMAIL PROTECTED]>

Re: [PATCH] i2c-cpm: Detect and report NAK right away instead of timing out.

2008-11-02 Thread Mike Ditto
Ben Dooks wrote: When reading from a device that is not present or declines to respond to, e.g., a non-existent register address, CPM immediately reports a NAK condition in the TxBD, but the driver kept waiting until a timeout, which takes 1 second and causes an ugly console error message. hmm,

Re: [PATCH] i2c-cpm: Detect and report NAK right away instead of timing out.

2008-11-02 Thread Ben Dooks
On Fri, Oct 31, 2008 at 05:29:25PM -0700, Mike Ditto wrote: > Make the driver report an ENXIO error immediately upon NAK instead of > waiting for another interrupt and getting a timeout. > > Signed-off-by: Mike Ditto <[EMAIL PROTECTED]> > --- > When reading from a device that is not present or dec

[PATCH] i2c-cpm: Detect and report NAK right away instead of timing out.

2008-10-31 Thread Mike Ditto
Make the driver report an ENXIO error immediately upon NAK instead of waiting for another interrupt and getting a timeout. Signed-off-by: Mike Ditto <[EMAIL PROTECTED]> --- When reading from a device that is not present or declines to respond to, e.g., a non-existent register address, CPM immediat