android_kernel_xiaomi_sm8350/drivers/misc
Wolfram Sang 4d29196c53 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>
2009-11-26 09:22:33 +01:00
..
c2port c2port: annotate bitfield for kmemcheck 2009-06-15 15:49:34 +02:00
cb710 cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG 2009-07-31 12:28:46 +02:00
eeprom at24: Use timeout also for read 2009-11-26 09:22:33 +01:00
hdpuftrs
ibmasm headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
sgi-gru sgi-gru: decrapfiy options_write() function 2009-11-05 10:48:30 -08:00
sgi-xp Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2009-09-18 09:33:07 -07:00
atmel_pwm.c
atmel_tclib.c
atmel-ssc.c
enclosure.c driver model: constify attribute groups 2009-09-15 09:50:47 -07:00
ep93xx_pwm.c ARM: 5628/1: ep93xx: Introduce Pulse Width Modulator (PWM) driver 2009-07-30 17:45:43 +01:00
hpilo.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
hpilo.h hpilo: add interrupt handler 2009-09-15 09:50:48 -07:00
ics932s401.c
ioc4.c
isl29003.c
Kconfig ARM: 5628/1: ep93xx: Introduce Pulse Width Modulator (PWM) driver 2009-07-30 17:45:43 +01:00
kgdbts.c
lkdtm.c kprobes: use do_IRQ() in lkdtm 2009-09-23 07:39:27 -07:00
Makefile ARM: 5628/1: ep93xx: Introduce Pulse Width Modulator (PWM) driver 2009-07-30 17:45:43 +01:00
phantom.c headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
tifm_7xx1.c
tifm_core.c