From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lennert Buytenhek Subject: Re: [PATCH] i2c: Make sure i2c_algo_bit_data.timeout is HZ-independent Date: Sun, 22 Feb 2009 12:52:01 +0100 Message-ID: <20090222115201.GH17040@xi.wantstofly.org> References: <20090222125005.75b2d661@hyperion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20090222125005.75b2d661-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jean Delvare Cc: Linux I2C , Russell King , Len Sorensen List-Id: linux-i2c@vger.kernel.org On Sun, Feb 22, 2009 at 12:50:05PM +0100, Jean Delvare wrote: > 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: Jean Delvare > Cc: Russell King > Cc: Lennert Buytenhek > Cc: Len Sorensen > --- > drivers/i2c/busses/i2c-acorn.c | 2 +- > drivers/i2c/busses/i2c-ixp2000.c | 2 +- > drivers/i2c/busses/scx200_i2c.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) For the drivers/i2c/busses/i2c-ixp2000.c part: Acked-by: Lennert Buytenhek Thanks.