From: Ben Dooks Date: Fri, 31 Oct 2008 16:10:22 +0000 (+0000) Subject: i2c-s3c2410: fix check for being in suspend. X-Git-Tag: v2.6.28-rc9~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be44f01e8af3862767f466f89c12640a2f2b0038;p=pandora-kernel.git i2c-s3c2410: fix check for being in suspend. As noted by Julia Lawall , 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 --- Reading git-diff-tree failed