Skip to contentSkip to conversation

I2C: Change the value of octeon i2c adapter timeout value

PATCH EUNBONG SONG 2 participants 2 messages Apr 19, 2013 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines · EUNBONG SONG
Quoted 2 lines

I think HZ/50 is better than 2 for adapter timeout.

Basically OK. But why HZ/50? Most drivers use HZ.

Actually, I just translated 2 jiffies because HZ is 100 in default cavium config. You can find that in "arch/mips/configs/cavium_octeon_defconfig". And i have been using this value over 1 year in octeon board without problem. Thanks.

#1 lore raw
Quoted 11 lines · EUNBONG SONG
Quoted 4 lines · EUNBONG SONG
Quoted 2 lines

I think HZ/50 is better than 2 for adapter timeout.

Basically OK. But why HZ/50? Most drivers use HZ.

Actually, I just translated 2 jiffies because HZ is 100 in default cavium config. You can find that in "arch/mips/configs/cavium_octeon_defconfig". And i have been using this value over 1 year in octeon board without problem.

Have you been writing to EEPROMS? Their erase/write cycle might be longer. But I am not forcing you to change the value, just giving some suggestions.