From: Sonasath, Moiz Date: Tue, 21 Jul 2009 15:15:12 +0000 (-0500) Subject: i2c-omap: OMAP3430 Silicon Errata 1.153 X-Git-Tag: v2.6.31-rc5~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd086d3aa6f7f7bf4d4e1f9fa09af0f0b6bb99ec;p=pandora-kernel.git i2c-omap: OMAP3430 Silicon Errata 1.153 When an XRDY/XDR is hit, wait for XUDF before writing data to DATA_REG. Otherwise some data bytes can be lost while transferring them from the memory to the I2C interface. Do a Busy-wait for XUDF, before writing data to DATA_REG. While waiting if there is NACK | AL, set the appropriate error flags, ack the pending interrupts and return from the ISR. Signed-off-by: Moiz Sonasath Signed-off-by: Vikram pandita [ben-linux@fluff.org: fixed mail format and added i2c-omap to subject] Signed-off-by: Ben Dooks --- Reading git-diff-tree failed