i2c-nomadik: make i2c timeout specific per i2c bus
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Fri, 13 May 2011 10:29:12 +0000 (12:29 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 24 May 2011 23:20:13 +0000 (00:20 +0100)
commit9772760079253cd9a428434b43d415d18b152332
tree1379806baba2f945e656bd8f86db91f2398c4bfc
parenta20d23945f30ec701a544fdd90d6537f4041af6f
i2c-nomadik: make i2c timeout specific per i2c bus

Add option to have different i2c timeout delay for different i2c buses
specified in platform data. Default to the old value unless specified.

Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-nomadik/include/plat/i2c.h
drivers/i2c/busses/i2c-nomadik.c