Commit 73f37dc3 authored by 송은봉's avatar 송은봉 Committed by Wolfram Sang

i2c: octeon: use HZ in timeout value

HZ based value is better than a magic number.
Signed-off-by: default avatarEunbong Song <eunb.song@samsung.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2637e5fd
......@@ -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,
};
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment