Limit minimum jiffie timeout to 2 to prevent early timeout on systems with low tick rates Signed-off-by: Kevin Wells <kevin.wells@xxxxxxx> --- i2c-pnx.c | 3 +++ 1 file changed, 3 insertions(+) --- drivers/i2c/busses/i2c-pnx.c.orig 2009-11-11 14:54:30.000000000 -0800 +++ drivers/i2c/busses/i2c-pnx.c 2009-11-11 15:00:17.000000000 -0800 @@ -54,6 +54,9 @@ static inline void i2c_pnx_arm_timer(str struct timer_list *timer = &data->mif.timer; int expires = I2C_PNX_TIMEOUT / (1000 / HZ); + if (expires <= 1) + expires = 2; + del_timer_sync(timer); dev_dbg(&adap->dev, "Timer armed at %lu plus %u jiffies.\n", -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html