]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c-designware: Support multiple cores using same ISR
authorDirk Brandewie <dirk.brandewie@gmail.com>
Thu, 6 Oct 2011 18:26:33 +0000 (11:26 -0700)
committerBen Dooks <ben-linux@fluff.org>
Mon, 10 Oct 2011 23:50:11 +0000 (00:50 +0100)
commite6ce52e6d6e4bf8dc609b6da88b24e5710dd0e11
tree451f9486285ec02f3e8acf6fcbd8ca6ffcc55e18
parent5cdd55090e541c8271b37be0a119b7d490089724
i2c-designware: Support multiple cores using same ISR

Add check to make sure that the core is enabled and has outstanding
interrupts. The activity bit is masked due to the fact that it will
stay active even after the controller has been disabled until the
contoller internal state machines have settled.

Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-designware-core.c