diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 16:10:22 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-16 20:19:53 +0000 |
commit | be44f01e8af3862767f466f89c12640a2f2b0038 (patch) | |
tree | 49f0127b1692b178c2786e5068adba54d37c01dc /virt/kvm/iodev.h | |
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>
Diffstat (limited to 'virt/kvm/iodev.h')
0 files changed, 0 insertions, 0 deletions