]> git.baikalelectronics.ru Git - kernel.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>
Sat, 29 Oct 2011 10:03:51 +0000 (11:03 +0100)
commit9592abad7b29b7f3069f2707be425b530e7da3c1
tree7928cc0a166fe93155afe539b3283e3f6e25de36
parent4fab2264ffb7260a23846a7752853b071b9d7bc9
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