Skip to contentSkip to conversation

bcm43xx-d80211: 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-d80211: lower mac_suspend udelay

Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.

drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c +1 -1
Index: wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
===================================================================
@@ -2199,7 +2199,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.