i2c: pxa: Return I2C_RETRY when timeout in pio mode
authorShouming Wang <wangshm@marvell.com>
Tue, 14 Jul 2015 07:36:42 +0000 (13:06 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Aug 2015 06:37:30 +0000 (08:37 +0200)
commit8bd75bd3038df5e743c7daa84c2d34d13493b395
tree602056af7dea9d2c3f81e66b593de7c497329fe4
parente087b4272effeacc10629316d47a257c88f82898
i2c: pxa: Return I2C_RETRY when timeout in pio mode

In case of timeout in pio mode of operation return I2C_RETRY.
This behavior will be same as interrupt mode of operation.

Signed-off-by: Shouming Wang <wangshm@marvell.com>
[vaibhav.hiremath@linaro.org: Updated changelog]
Signed-off-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-pxa.c