i2c-s3c2410: fix check for being in suspend.
authorBen Dooks <ben-linux@fluff.org>
Fri, 31 Oct 2008 16:10:22 +0000 (16:10 +0000)
committerBen Dooks <ben-linux@fluff.org>
Tue, 16 Dec 2008 20:19:53 +0000 (20:19 +0000)
As noted by Julia Lawall <julia@diku.dk>, we can never
trigger the check for being in suspend due to the result
of !readl(i2c->regs + S3C2410_IICCON) & S3C2410_IICCON_IRQEN
always being 0.

Add suspend/resume hooks to stop i2c transactions happening
until the driver has been resumed.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>


No differences found