On Sun, 22 Feb 2009 16:07:05 +0100
"Jean Delvare" <[email protected]> wrote:

> From: Jean Delvare <[email protected]>
> Subject: i2c: Adapter timeout is in jiffies
> 
> i2c_adapter.timeout is in jiffies. Fix all drivers which thought
> otherwise. It didn't really matter as long as the value was only used
> inside the driver, but soon i2c-core will use it too so it must have
> the proper unit.
> 
> Note: for the i2c-mpc driver, this fixes a bug in polling mode.
> Timeout would trigger after 1 jiffy, which is most probably not what
> the author wanted.
> 
> Signed-off-by: Jean Delvare <[email protected]>
> Cc: Clifford Wolf <[email protected]>
> Cc: Sean MacLennan <[email protected]>
> Cc: Stefan Roese <[email protected]>
> Cc: Lennert Buytenhek <[email protected]>
> Cc: Dan Williams <[email protected]>
> Cc: Grant Likely <[email protected]>
> Cc: Mark A. Greer <[email protected]>
> Cc: Wolfram Sang <[email protected]>
> ---
>  drivers/i2c/busses/i2c-ibm_iic.c |    6 +++---
>  drivers/i2c/busses/i2c-iop3xx.c  |    2 +-
>  drivers/i2c/busses/i2c-mpc.c     |    4 ++--
>  drivers/i2c/busses/i2c-mv64xxx.c |    7 +++----
>  drivers/i2c/busses/i2c-pca-isa.c |    2 +-
>  5 files changed, 10 insertions(+), 11 deletions(-)

i2c-ibm_iic.c:

Acked-by: Sean MacLennan <[email protected]>

Cheers,
   Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to