diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 12:07:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 12:07:25 -0700 |
commit | 0fb7f4f0cef8e7d2944189ff2cb68694ef4b683a (patch) | |
tree | 3186b3ecb8faf7f4c81a5d443243ed9d28adf402 /drivers/i2c/busses/i2c-s3c2410.c | |
parent | cdcba02a5f64f4df20b6749a0169124e38ecb733 (diff) | |
parent | da6801e38b7fba28fbdc0ceae6681d5a261a42a6 (diff) | |
download | op-kernel-dev-0fb7f4f0cef8e7d2944189ff2cb68694ef4b683a.zip op-kernel-dev-0fb7f4f0cef8e7d2944189ff2cb68694ef4b683a.tar.gz |
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
* 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
i2c-s3c2410: Correct use of ! and &
i2c: The i2c mailing list is moving
scx200_i2c: Add missing class parameter
Diffstat (limited to 'drivers/i2c/busses/i2c-s3c2410.c')
-rw-r--r-- | drivers/i2c/busses/i2c-s3c2410.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index c772e02..1fac4e2 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c @@ -507,7 +507,7 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int unsigned long timeout; int ret; - if (!readl(i2c->regs + S3C2410_IICCON) & S3C2410_IICCON_IRQEN) + if (!(readl(i2c->regs + S3C2410_IICCON) & S3C2410_IICCON_IRQEN)) return -EIO; ret = s3c24xx_i2c_set_master(i2c); |