summaryrefslogtreecommitdiff
path: root/arch/mips/au1000/common/platform.c
diff options
context:
space:
mode:
authorManuel Lauss <mano@roarinelk.homelinux.net>2008-01-27 18:14:52 +0100
committerJean Delvare <khali@hyperion.delvare>2008-01-27 18:14:52 +0100
commit91f27958d686da713c3b0a1dc205288898e44124 (patch)
treeb59d826d3972f8cc58e587b437e4993bfe7da2b8 /arch/mips/au1000/common/platform.c
parent4bd28ebda2d48f16c1f16ff936a6927a4ef2194d (diff)
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 <mano@roarinelk.homelinux.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'arch/mips/au1000/common/platform.c')
0 files changed, 0 insertions, 0 deletions