]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-isch: Decrease delay in command completion check loop
authorOlivier Sobrie <olivier@sobrie.be>
Mon, 26 Mar 2012 19:47:18 +0000 (21:47 +0200)
committerJean Delvare <khali@endymion.delvare>
Mon, 26 Mar 2012 19:47:18 +0000 (21:47 +0200)
commitf917058814b543785baf19d0b329e577db39d7a3
treefabf238a44c7d49c4a4c16d83cb8e14181c9dd31
parent1f31618ae16db67f6816339a7bb9996579084900
i2c-isch: Decrease delay in command completion check loop

Generally it is not needed to wait for 1 msec, the SMBus get often ready
in less than 200 usecs.

msleep(1) can wait up to 20 msecs... It has a significant impact when
there is a burst of transactions on the bus.

Signed-off-by: Olivier Sobrie <olivier@sobrie.be>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-isch.c