From: Michael Buesch <mb@bu3sch•de>
To: linville@tuxdriver•com
Cc: Jeff Garzik <jeff@garzik•org>,
bcm43xx-dev@lists•berlios.de,
Larry Finger <Larry.Finger@lwfinger•net>,
netdev@vger•kernel.org
Subject: [PATCH] bcm43xx-d80211: lower mac_suspend udelay
Date: Tue, 27 Jun 2006 17:57:53 +0200 [thread overview]
Message-ID: <200606271757.53697.mb@bu3sch.de> (raw)
Microoptimization:
This reduces the udelay in bcm43xx_mac_suspend.
Signed-off-by: Michael Buesch <mb@bu3sch•de>
Index: wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c
===================================================================
--- wireless-dev.orig/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 2006-06-27 17:51:21.000000000 +0200
+++ wireless-dev/drivers/net/wireless/d80211/bcm43xx/bcm43xx_main.c 2006-06-27 17:52:17.000000000 +0200
@@ -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");
}
--
Greetings Michael.
reply other threads:[~2006-06-27 15:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606271757.53697.mb@bu3sch.de \
--to=mb@bu3sch$(echo .)de \
--cc=Larry.Finger@lwfinger$(echo .)net \
--cc=bcm43xx-dev@lists$(echo .)berlios.de \
--cc=jeff@garzik$(echo .)org \
--cc=linville@tuxdriver$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox