summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-03-26 21:47:19 +0200
committerJean Delvare <khali@endymion.delvare>2012-03-26 21:47:19 +0200
commit84c1af4c21d645a02a4780cdf61c7551d8e7bb56 (patch)
tree47ad0ea490045e73c6f4d757123ac4c95ea0a676 /fs/select.c
parent062737fb6d90c632439b1f77ad6a4965cfc84a20 (diff)
downloadblackbird-op-linux-84c1af4c21d645a02a4780cdf61c7551d8e7bb56.tar.gz
blackbird-op-linux-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 <khali@linux-fr.org> Cc: Olivier Sobrie <olivier@sobrie.be>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud