]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-davinci: Fix timeout handling
authorJean Delvare <khali@linux-fr.org>
Sat, 28 Mar 2009 20:34:43 +0000 (21:34 +0100)
committerJean Delvare <khali@linux-fr.org>
Sat, 28 Mar 2009 20:34:43 +0000 (21:34 +0100)
commit1f9303c27710bc1e56f9bc2ce9085d592af87551
tree49fc4c32e0bf62687ec6906552041523c2b70c46
parent077ec55f3dfb8cc9173583c15b1988d068673e21
i2c-davinci: Fix timeout handling

Properly set the adapter timeout value in jiffies, and then use that
value in the driver, rather than a hard-coded constant.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Kevin Hilman <khilman@mvista.com>
drivers/i2c/busses/i2c-davinci.c