Skip to content

Commit

Permalink
ath9k_hw: reduce delay on programming INI on AR9003
Browse files Browse the repository at this point in the history
All AR9003 devices are PCI-E only, the extra delay here
is not required and only reduces the delay for loading
the initial register values by at least 14ms.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Jun 14, 2010
1 parent 03c7251 commit 644c78c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/net/wireless/ath/ath9k/ar9003_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,15 +543,6 @@ static void ar9003_hw_prog_ini(struct ath_hw *ah,
u32 val = INI_RA(iniArr, i, column);

REG_WRITE(ah, reg, val);

/*
* Determine if this is a shift register value, and insert the
* configured delay if so.
*/
if (reg >= 0x16000 && reg < 0x17000
&& ah->config.analog_shiftreg)
udelay(100);

DO_DELAY(regWrites);
}
}
Expand Down

0 comments on commit 644c78c

Please sign in to comment.