git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'topic/hda' into for-linus
[pandora-kernel.git]
/
drivers
/
i2c
/
busses
/
i2c-nforce2.c
diff --git
a/drivers/i2c/busses/i2c-nforce2.c
b/drivers/i2c/busses/i2c-nforce2.c
index
2ff4683
..
ec11d1c
100644
(file)
--- a/
drivers/i2c/busses/i2c-nforce2.c
+++ b/
drivers/i2c/busses/i2c-nforce2.c
@@
-173,7
+173,7
@@
static int nforce2_check_status(struct i2c_adapter *adap)
temp = inb_p(NVIDIA_SMB_STS);
} while ((!temp) && (timeout++ < MAX_TIMEOUT));
temp = inb_p(NVIDIA_SMB_STS);
} while ((!temp) && (timeout++ < MAX_TIMEOUT));
- if (timeout >
=
MAX_TIMEOUT) {
+ if (timeout > MAX_TIMEOUT) {
dev_dbg(&adap->dev, "SMBus Timeout!\n");
if (smbus->can_abort)
nforce2_abort(adap);
dev_dbg(&adap->dev, "SMBus Timeout!\n");
if (smbus->can_abort)
nforce2_abort(adap);