Skip to contentSkip to conversation

bcm43xx: lower mac_suspend udelay

PATCH New Michael Buesch 1 participant 1 message Jun 27, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bcm43xx: lower mac_suspend udelay

Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.

drivers/net/wireless/bcm43xx/bcm43xx_main.c +1 -1
Index: wireless-2.6/drivers/net/wireless/bcm43xx/bcm43xx_main.c
===================================================================
@@ -2328,7 +2328,7 @@
 			tmp = bcm43xx_read32(bcm, BCM43xx_MMIO_GEN_IRQ_REASON);
 			if (tmp & BCM43xx_IRQ_READY)
 				goto out;
-			udelay(10);
+			udelay(1);
 		}
 		printkl(KERN_ERR PFX "MAC suspend failed\n");
 	}
Signature · 1 line
Greetings Michael.