summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
author송은봉 <eunb.song@samsung.com>2013-04-18 14:01:05 +0000
committerWolfram Sang <wsa@the-dreams.de>2013-04-23 18:29:11 +0200
commit73f37dc3aa566f2533e6fda83a7c0a83657bada5 (patch)
tree18c07ef78e20aa20aa0b7bcb59f81590e092abca /drivers/i2c
parent2637e5fd232d421b680757944f613d4b1a36ae26 (diff)
downloadlinux-73f37dc3aa566f2533e6fda83a7c0a83657bada5.tar.bz2
i2c: octeon: use HZ in timeout value
HZ based value is better than a magic number. Signed-off-by: Eunbong Song <eunb.song@samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-octeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/i2c/busses/i2c-octeon.c
index b2e32596088d..956fe320f313 100644
--- a/drivers/i2c/busses/i2c-octeon.c
+++ b/drivers/i2c/busses/i2c-octeon.c
@@ -440,7 +440,7 @@ static struct i2c_adapter octeon_i2c_ops = {
.owner = THIS_MODULE,
.name = "OCTEON adapter",
.algo = &octeon_i2c_algo,
- .timeout = 2,
+ .timeout = HZ / 50,
};
/**