Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182141
b: refs/heads/master
c: 3b43947
h: refs/heads/master
i:
  182139: fed5204
v: v3
  • Loading branch information
Ralf Baechle committed Feb 27, 2010
1 parent 896b37f commit 6f979f6
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: 7fe2d9c41de132b51e550212aa5709fc4e132c2c
refs/heads/master: 3b439470e360931ad65234f94aa92cd7362f635a
4 changes: 2 additions & 2 deletions trunk/arch/mips/loongson/lemote-2f/ec_kb3310b.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ int ec_query_seq(unsigned char cmd)
udelay(EC_REG_DELAY);
}

spin_unlock_irqrestore(&port_access_lock, flags);

if (timeout <= 0) {
printk(KERN_ERR "%s: deadable error : timeout...\n", __func__);
ret = -EINVAL;
Expand All @@ -83,8 +85,6 @@ int ec_query_seq(unsigned char cmd)
"(%x/%d)ec issued command %d status : 0x%x\n",
timeout, EC_CMD_TIMEOUT - timeout, cmd, status);

spin_unlock_irqrestore(&port_access_lock, flags);

return ret;
}
EXPORT_SYMBOL_GPL(ec_query_seq);
Expand Down

0 comments on commit 6f979f6

Please sign in to comment.