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
..
2015-06-25 17:00:38 -07:00
2016-02-07 23:01:45 -08:00
2013-09-26 13:55:30 -07:00
2016-05-20 10:12:41 -07:00
2014-02-28 14:08:42 -08:00
2016-07-18 20:07:54 +02:00
2016-02-08 14:57:30 -08:00
2016-04-04 10:41:08 -07:00
2016-02-07 23:01:45 -08:00
2016-05-03 15:07:35 -07:00
2016-04-30 13:53:19 -07:00
2016-05-04 08:48:51 +02:00
2015-09-08 15:35:28 -07:00
2016-05-01 14:20:04 -07:00
2016-04-04 10:41:08 -07:00
2015-09-20 19:33:29 -07:00
2015-10-28 10:30:17 +09:00
2016-03-01 16:55:13 -08:00
2016-02-07 23:01:45 -08:00
2014-02-07 15:10:19 -08:00
2016-02-07 23:01:45 -08:00
2015-10-06 12:33:14 +02:00
2016-03-02 23:43:11 +09:00
2016-02-07 23:01:45 -08:00
2015-03-16 21:10:28 +01:00
2015-08-10 08:37:35 +02:00
2015-10-28 10:30:17 +09:00
2014-02-07 15:10:19 -08:00
2013-12-04 20:23:51 -08:00
2014-10-20 16:20:54 +02:00
2015-08-05 13:53:39 -07:00
2014-07-09 14:19:34 -07:00
2015-03-31 08:53:36 +03:00
2014-01-07 15:06:07 +01:00
2014-02-07 15:10:19 -08:00
2015-10-04 12:42:33 +01:00
2013-08-27 08:28:01 -07:00
2015-01-12 05:04:11 -08:00
2015-08-10 08:37:35 +02:00
2014-02-07 15:10:19 -08:00
2016-02-22 14:46:24 -08:00
2015-09-20 19:32:35 -07:00
2015-10-28 10:30:17 +09:00
2016-04-06 16:22:25 -07:00
2016-02-03 14:14:22 -08:00
2016-02-11 19:24:23 -08:00
2016-03-05 12:19:39 -08:00
2013-10-16 12:36:10 -07:00
2013-09-26 09:13:54 -07:00
2016-05-01 14:20:04 -07:00
2015-10-13 22:17:40 -07:00
2016-04-30 14:15:56 -07:00
2015-10-28 10:30:17 +09:00
2015-03-25 11:36:38 +01:00
2013-10-16 18:40:58 -07:00
2015-08-10 08:37:35 +02:00
2014-11-28 16:08:16 +01:00
2015-11-06 17:50:42 -08:00