Commit 787e0536 authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville

ath9k_hw: remove ah->config.pcie_clock_req

It is unused
Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 60c4bf29
...@@ -32,12 +32,8 @@ static int ar9002_hw_init_mode_regs(struct ath_hw *ah) ...@@ -32,12 +32,8 @@ static int ar9002_hw_init_mode_regs(struct ath_hw *ah)
return 0; return 0;
} }
if (ah->config.pcie_clock_req) INIT_INI_ARRAY(&ah->iniPcieSerdes,
INIT_INI_ARRAY(&ah->iniPcieSerdes, ar9280PciePhy_clkreq_always_on_L1_9280);
ar9280PciePhy_clkreq_off_L1_9280);
else
INIT_INI_ARRAY(&ah->iniPcieSerdes,
ar9280PciePhy_clkreq_always_on_L1_9280);
if (AR_SREV_9287_11_OR_LATER(ah)) { if (AR_SREV_9287_11_OR_LATER(ah)) {
INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_1); INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_1);
......
...@@ -446,7 +446,6 @@ static void ath9k_hw_init_config(struct ath_hw *ah) ...@@ -446,7 +446,6 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
ah->config.additional_swba_backoff = 0; ah->config.additional_swba_backoff = 0;
ah->config.ack_6mb = 0x0; ah->config.ack_6mb = 0x0;
ah->config.cwm_ignore_extcca = 0; ah->config.cwm_ignore_extcca = 0;
ah->config.pcie_clock_req = 0;
ah->config.analog_shiftreg = 1; ah->config.analog_shiftreg = 1;
for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) { for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
......
...@@ -283,7 +283,6 @@ struct ath9k_ops_config { ...@@ -283,7 +283,6 @@ struct ath9k_ops_config {
int additional_swba_backoff; int additional_swba_backoff;
int ack_6mb; int ack_6mb;
u32 cwm_ignore_extcca; u32 cwm_ignore_extcca;
u8 pcie_clock_req;
u32 pcie_waen; u32 pcie_waen;
u8 analog_shiftreg; u8 analog_shiftreg;
u32 ofdm_trig_low; u32 ofdm_trig_low;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment