Commit 3b439470 authored by Ralf Baechle's avatar Ralf Baechle

MIPS: Lemote 2F: Move printks out of port_access_lock.

No point in protecting them and printks are sloow.
Signed-off-by: default avatarRalf Baechle <>
parent 7fe2d9c4
......@@ -75,6 +75,8 @@ int ec_query_seq(unsigned char cmd)
spin_unlock_irqrestore(&port_access_lock, flags);
if (timeout <= 0) {
printk(KERN_ERR "%s: deadable error : timeout...\n", __func__);
ret = -EINVAL;
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment