i2c-i801: Don't use the block buffer for I2C block writes
authorJean Delvare <khali@linux-fr.org>
Sat, 13 Mar 2010 19:56:53 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:07 +0000 (15:58 -0700)
commitcde4ff84e046eaed345bde28aa2e5529b5124d02
treea73cb3ccc676862fad2d99af85236d93ee0f2cc5
parent93c676ec4c60765cef691d4dd585b9866e9090a6
i2c-i801: Don't use the block buffer for I2C block writes

commit c074c39d62306efa5ba7c69c1a1531bc7333d252 upstream.

Experience has shown that the block buffer can only be used for SMBus
(not I2C) block transactions, even though the datasheet doesn't
mention this limitation.

Reported-by: Felix Rubinstein <felixru@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Oleg Ryjkov <oryjkov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/busses/i2c-i801.c