Skip to content
Commit be44f01e authored by Ben Dooks's avatar Ben Dooks
Browse files

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: default avatarBen Dooks <ben-linux@fluff.org>
parent a804644a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment