提交 644c78c9 编写于 作者: L Luis R. Rodriguez 提交者: John W. Linville

ath9k_hw: reduce delay on programming INI on AR9003

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: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 03c72518
...@@ -543,15 +543,6 @@ static void ar9003_hw_prog_ini(struct ath_hw *ah, ...@@ -543,15 +543,6 @@ static void ar9003_hw_prog_ini(struct ath_hw *ah,
u32 val = INI_RA(iniArr, i, column); u32 val = INI_RA(iniArr, i, column);
REG_WRITE(ah, reg, val); 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); DO_DELAY(regWrites);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册