diff options
| author | Jean Delvare <[email protected]> | 2012-03-26 19:47:19 +0000 |
|---|---|---|
| committer | Jean Delvare <[email protected]> | 2012-03-26 19:47:19 +0000 |
| commit | 84c1af4c21d645a02a4780cdf61c7551d8e7bb56 (patch) | |
| tree | 47ad0ea490045e73c6f4d757123ac4c95ea0a676 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | i2c-i801: Add device IDs for Intel Lynx Point (diff) | |
| download | kernel-84c1af4c21d645a02a4780cdf61c7551d8e7bb56.tar.gz kernel-84c1af4c21d645a02a4780cdf61c7551d8e7bb56.zip | |
i2c-i801: Use usleep_range to wait for command completion
Use usleep_range instead of msleep when waiting for command
completion. Most SMBus commands complete in less than 2 jiffies so
this brings a pleasant performance boost.
Strongly inspired from a similar change by Olivier Sobrie to the
i2c-isch driver.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Olivier Sobrie <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
