summaryrefslogtreecommitdiff
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
parent2637e5fd232d421b680757944f613d4b1a36ae26 (diff)
downloadlinux-3.10-73f37dc3aa566f2533e6fda83a7c0a83657bada5.tar.gz
linux-3.10-73f37dc3aa566f2533e6fda83a7c0a83657bada5.tar.bz2
linux-3.10-73f37dc3aa566f2533e6fda83a7c0a83657bada5.zip
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>
-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 b2e32596088..956fe320f31 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,
};
/**