mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-23 09:56:00 +00:00
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>
This commit is contained in:
parent
2637e5fd23
commit
73f37dc3aa
@ -440,7 +440,7 @@ static struct i2c_adapter octeon_i2c_ops = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.name = "OCTEON adapter",
|
.name = "OCTEON adapter",
|
||||||
.algo = &octeon_i2c_algo,
|
.algo = &octeon_i2c_algo,
|
||||||
.timeout = 2,
|
.timeout = HZ / 50,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user