]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: omap: Clear ARDY bit twice
authorTaras Kondratiuk <taras.kondratiuk@linaro.org>
Mon, 7 Oct 2013 10:41:59 +0000 (13:41 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:32 +0000 (10:22 +0200)
commit52fc77aa1963b6ce86b80fd86728ae5fde45a4ab
treedd709f5e5804745d61e459519a20b31ffcba51f0
parent374d1cc7f59fa1f9ca8fa08b2c410d9883221549
i2c: omap: Clear ARDY bit twice

Initially commit 229debedf7246a5ca66aa8dd91520b5b2fb19a97
"i2c-omap: Double clear of ARDY status in IRQ handler"
added a workaround for undocumented errata ProDB0017052.
But then commit 5cdc84f58ef9262b70faa9a6e35867d2a45bd0a1
"i2c: omap: ack IRQ in parts" refactored code and missed
one of ARDY clearings. So current code violates errata.
It causes often i2c bus timeouts on my Pandaboard.

This patch adds a second clearing in place.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
drivers/i2c/busses/i2c-omap.c