commit | be44f01e8af3862767f466f89c12640a2f2b0038 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Fri Oct 31 16:10:22 2008 +0000 |
committer | Ben Dooks <ben-linux@fluff.org> | Tue Dec 16 20:19:53 2008 +0000 |
tree | 49f0127b1692b178c2786e5068adba54d37c01dc | |
parent | a804644a1a31a0b85e4c7d3c49f30419513cb6c1 [diff] |
i2c-s3c2410: fix check for being in suspend. 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>