Skip to content
Commit 082a4cf8 authored by Jean Delvare's avatar Jean Delvare
Browse files

i2c: Make sure i2c_algo_bit_data.timeout is HZ-independent



i2c_algo_bit_data.timeout is supposed to be in jiffies, so drivers
should use set this value in terms of HZ.

Ultimately I think this field should be discarded in favor of
i2c_adapter.timeout, but that's left for a future patch.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Acked-by: default avatarLennert Buytenhek <kernel@wantstofly.org>
Acked-by: default avatarLen Sorensen <lsorense@csclub.uwaterloo.ca>
parent cd97f39b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment