• Ben Dooks's avatar
    i2c-s3c2410: fix check for being in suspend. · be44f01e
    Ben Dooks authored
    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>
    be44f01e
i2c-s3c2410.c 23.2 KB