From: Jean Delvare Date: Tue, 24 Feb 2009 18:19:49 +0000 (+0100) Subject: i2c-dev: Clarify the unit of ioctl I2C_TIMEOUT X-Git-Tag: v2.6.29-rc7~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd97f39b7cdf1c8a9c9f52865eec795b7f0c811d;p=pandora-kernel.git 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 Acked-by: Wolfram Sang --- Reading git-diff-tree failed