From: Manuel Lauss Date: Sun, 27 Jan 2008 17:14:52 +0000 (+0100) Subject: i2c-au1550: properly terminate zero-byte transfers X-Git-Tag: v2.6.25-rc1~1180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f27958d686da713c3b0a1dc205288898e44124;p=pandora-kernel.git i2c-au1550: properly terminate zero-byte transfers Zero-bytes transfers would leave the bus transaction unfinished (no i2c stop is sent), with the following transfer actually sending the slave address to the previously addressed device, resulting in weird device failures (e.g. reset minute register values in my RTC). This patch instructs the controller to send an I2C STOP right after the slave address in case of a zero-byte transfer. Signed-off-by: Manuel Lauss Signed-off-by: Jean Delvare --- Reading git-diff-tree failed