提交 b8e7cdb3 编写于 作者: M Michael Buesch 提交者: John W. Linville

[PATCH] bcm43xx: lower mac_suspend udelay

Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.
Signed-off-by: NMichael Buesch <mb@bu3sch.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 062caf43
...@@ -2328,7 +2328,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm) ...@@ -2328,7 +2328,7 @@ void bcm43xx_mac_suspend(struct bcm43xx_private *bcm)
tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON); tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON);
if (tmp & BCM43xx_IRQ_READY) if (tmp & BCM43xx_IRQ_READY)
goto out; goto out;
udelay(10); udelay(1);
} }
printkl(KERN_ERR PFX "MAC suspend failed\n"); printkl(KERN_ERR PFX "MAC suspend failed\n");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册