diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-02-24 19:19:49 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-02-24 19:19:49 +0100 |
commit | cd97f39b7cdf1c8a9c9f52865eec795b7f0c811d (patch) | |
tree | 010cd2255376a95120da810a1600bbd8d4d7d1c3 /drivers/i2c/busses | |
parent | a746b578d8406b2db0e9f0d040061bc1f78433cf (diff) | |
download | kernel_samsung_crespo-cd97f39b7cdf1c8a9c9f52865eec795b7f0c811d.zip kernel_samsung_crespo-cd97f39b7cdf1c8a9c9f52865eec795b7f0c811d.tar.gz kernel_samsung_crespo-cd97f39b7cdf1c8a9c9f52865eec795b7f0c811d.tar.bz2 |
i2c-dev: Clarify the unit of ioctl I2C_TIMEOUT
The unit in which user-space can set the bus timeout value is jiffies
for historical reasons (back when HZ was always 100.) This is however
not good because user-space doesn't know how long a jiffy lasts. The
timeout value should instead be set in a fixed time unit. Given the
original value of HZ, this unit should be 10 ms, for compatibility.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/i2c/busses')
0 files changed, 0 insertions, 0 deletions