]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-nomadik: reset the hw after status check
authorVirupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Fri, 13 May 2011 10:30:53 +0000 (12:30 +0200)
committerBen Dooks <ben-linux@fluff.org>
Tue, 24 May 2011 23:20:54 +0000 (00:20 +0100)
commit49e469ba91d5e6c58ab86b7af6a79601e373df96
tree28853979c95e16aa8b6b8e2d88f595a3553e71dd
parent76c7a8883abb09cc408f7188c05a8899179b6ee8
i2c-nomadik: reset the hw after status check

In case of I2C timeout, reset the HW only after the HW status
is read, otherwise the staus will be lost.

Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@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>
drivers/i2c/busses/i2c-nomadik.c