Skip to content

Commit

Permalink
i2c: octeon: use HZ in timeout value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
송은봉 authored and Wolfram Sang committed Apr 23, 2013
1 parent 2637e5f commit 73f37dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-octeon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

/**
Expand Down

0 comments on commit 73f37dc

Please sign in to comment.