Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336978
b: refs/heads/master
c: 644a9d3
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Greg Kroah-Hartman committed Nov 16, 2012
1 parent 27a72e1 commit c4b6468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ebf1b764aa5cb3b4bfe2e96674f1b559f7c37e64
refs/heads/master: 644a9d3b66e6983c2c1f3b24c3006d49b184c871
2 changes: 1 addition & 1 deletion trunk/drivers/misc/apds9802als.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static int als_wait_for_data_ready(struct device *dev)
ret = i2c_smbus_read_byte_data(client, 0x86);
} while (!(ret & 0x80) && retry--);

if (!retry) {
if (retry < 0) {
dev_warn(dev, "timeout waiting for data ready\n");
return -ETIMEDOUT;
}
Expand Down

0 comments on commit c4b6468

Please sign in to comment.