kernel_optimize_test/drivers/i2c/algos
Jean Delvare 41101a3302 i2c-algo-bit: Don't resched on clock stretching
Clock stretching is not supposed to last long, so asking to be
rescheduled while waiting for the clock line to be released by a slave
makes little sense. Odds are that the clock line will long have been
released when we run again, so we will have lost time and may even
get an SMBus timeout because of this.

So just busy-wait in that case. This also participates in the effort
to make i2c-algo-bit usable in contexts that can't sleep.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
2012-03-26 21:47:19 +02:00
..
i2c-algo-bit.c i2c-algo-bit: Don't resched on clock stretching 2012-03-26 21:47:19 +02:00
i2c-algo-pca.c i2c: Update the FSF address 2012-03-26 21:47:19 +02:00
i2c-algo-pcf.c i2c: Update the FSF address 2012-03-26 21:47:19 +02:00
i2c-algo-pcf.h i2c: Update the FSF address 2012-03-26 21:47:19 +02:00
Kconfig i2c/algos: convert Kconfig to use the menu's `visible' keyword 2010-11-22 11:27:35 -02:00
Makefile i2c: Change to new flag variable 2010-10-24 18:16:58 +02:00