From: Wolfram Sang Date: Thu, 26 Nov 2009 08:22:33 +0000 (+0100) Subject: at24: Use timeout also for read X-Git-Tag: v2.6.32~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d29196c535088e807061ce2a0aa526daec2edfb;p=pandora-kernel.git at24: Use timeout also for read Writes may take some time on EEPROMs, so for consecutive writes, we already have a loop waiting for the EEPROM to become ready. Use such a loop for reads, too, in case somebody wants to immediately read after a write. Detailed bug report and test case can be found here: http://article.gmane.org/gmane.linux.drivers.i2c/4660 Reported-by: Aleksandar Ivanov Signed-off-by: Wolfram Sang Tested-by: Aleksandar Ivanov Cc: David Brownell Signed-off-by: Jean Delvare --- Reading git-diff-tree failed