mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue