Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115901
b: refs/heads/master
c: 02fcbd1
h: refs/heads/master
i:
  115899: dcaa001
v: v3
  • Loading branch information
Henrik Rydberg authored and Linus Torvalds committed Oct 20, 2008
1 parent 4a6bf80 commit 1483612
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 84d2d7f2ee98dc9bd799790c89b5eb8280af2d37
refs/heads/master: 02fcbd144d684167aa67b1d3ad68f18d265f2d08
4 changes: 2 additions & 2 deletions trunk/drivers/hwmon/applesmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ static unsigned int key_at_index;
static struct workqueue_struct *applesmc_led_wq;

/*
* __wait_status - Wait up to 2ms for the status port to get a certain value
* __wait_status - Wait up to 10ms for the status port to get a certain value
* (masked with 0x0f), returning zero if the value is obtained. Callers must
* hold applesmc_lock.
*/
Expand All @@ -173,7 +173,7 @@ static int __wait_status(u8 val)

val = val & APPLESMC_STATUS_MASK;

for (i = 0; i < 200; i++) {
for (i = 0; i < 1000; i++) {
if ((inb(APPLESMC_CMD_PORT) & APPLESMC_STATUS_MASK) == val) {
if (debug)
printk(KERN_DEBUG
Expand Down

0 comments on commit 1483612

Please sign in to comment.