Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};

/**