]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: at91: fix SMBus quick command
authorLudovic Desroches <ludovic.desroches@atmel.com>
Tue, 13 Nov 2012 15:43:21 +0000 (16:43 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 14 Nov 2012 09:28:28 +0000 (10:28 +0100)
commit7c3fe64d133fbe4132d9966cd2f79a7193f13139
tree645548bacfc35cfbbcef07dd124399b45db0e880
parent58a7371a4dd9d03f77265ee2784781fc39096136
i2c: at91: fix SMBus quick command

The driver claims to support SMBus quick command but it was not the
case. This patch fixes this issue. Without it, i2cdetect finds imaginary
devices. And with some IP versions, trying to send 0 byte can cause
issue when writing data to an EEPROM.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
[wsa: improved the commit message]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-at91.c