* [PATCH 1/5] ath9k: fix bad udelay
@ 2008-07-20 13:33 Felix Fietkau
2008-07-20 13:58 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2008-07-20 13:33 UTC (permalink / raw)
To: linux-wireless; +Cc: ath5k-devel
Replace udelay(3000) with mdelay(3), because udelay(3000) fails on
some architectures, e.g. ARM
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
--- a/drivers/net/wireless/ath9k/recv.c
+++ b/drivers/net/wireless/ath9k/recv.c
@@ -737,7 +737,7 @@
ath9k_hw_stoppcurecv(ah); /* disable PCU */
ath9k_hw_setrxfilter(ah, 0); /* clear recv filter */
stopped = ath9k_hw_stopdmarecv(ah); /* disable DMA engine */
- udelay(3000); /* 3ms is long enough for 1 frame */
+ mdelay(3); /* 3ms is long enough for 1 frame */
tsf = ath9k_hw_gettsf64(ah);
sc->sc_rxlink = NULL; /* just in case */
return stopped;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/5] ath9k: fix bad udelay
2008-07-20 13:33 [PATCH 1/5] ath9k: fix bad udelay Felix Fietkau
@ 2008-07-20 13:58 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2008-07-20 13:58 UTC (permalink / raw)
To: Felix Fietkau; +Cc: linux-wireless, ath5k-devel
On Sun, Jul 20, 2008 at 6:33 AM, Felix Fietkau <nbd@openwrt.org> wrote:
> Replace udelay(3000) with mdelay(3), because udelay(3000) fails on
> some architectures, e.g. ARM
>
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This is for 1-5, thanks.
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-20 13:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-20 13:33 [PATCH 1/5] ath9k: fix bad udelay Felix Fietkau
2008-07-20 13:58 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).