diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-11-26 09:22:33 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-11-26 09:22:33 +0100 |
commit | 4d29196c535088e807061ce2a0aa526daec2edfb (patch) | |
tree | 960fbfa00bb0372a6be425b8131dd4d937e5d0d8 /drivers/i2c | |
parent | bbd2d9c9198c6efd449e9d395b3eaf2d03aa3bba (diff) |
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 <ivanov.aleks@gmail.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Tested-by: Aleksandar Ivanov <ivanov.aleks@gmail.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions