linux/drivers/misc/eeprom
Bartosz Golaszewski 24da3cc0e2 eeprom: at24: tweak the loop_until_timeout() macro
loop_until_timeout() replaced a do {} while loop in the at24 driver
with a for loop which, under certain circumstances (such as heavy load
or low value of the write_timeout argument), can lead to the code in
the loop never being executed.

Make sure that at least one iteration of the code enclosed within
loop_until_timeout() is always executed.

Suggested-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-07-18 20:07:54 +02:00
..
at24.c eeprom: at24: tweak the loop_until_timeout() macro 2016-07-18 20:07:54 +02:00
at25.c eeprom: at25: Fix SPI device leak 2016-05-01 14:04:19 -07:00
digsy_mtc_eeprom.c
eeprom_93cx6.c
eeprom_93xx46.c eeprom: 93xx46: Fix SPI device leak 2016-05-01 14:04:19 -07:00
eeprom.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
Kconfig eeprom: at25: remove nvmem regmap dependency 2016-05-01 14:01:00 -07:00
Makefile
max6875.c Merge branch 'i2c/for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2015-09-08 16:16:26 -07:00