Skip to content
Commit c926c87b authored by ryan_chen's avatar ryan_chen Committed by Wolfram Sang
Browse files

i2c: aspeed: Avoid i2c interrupt status clear race condition.

In AST2600 there have a slow peripheral bus between CPU and i2c
controller. Therefore GIC i2c interrupt status clear have delay timing,
when CPU issue write clear i2c controller interrupt status. To avoid
this issue, the driver need have read after write clear at i2c ISR.

Fixes: f327c686

 ("i2c: aspeed: added driver for Aspeed I2C")
Signed-off-by: default avatarryan_chen <ryan_chen@aspeedtech.com>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
[wsa: added Fixes tag]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent ac2b0813
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment