projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b86b173
)
mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate
author
Lorenzo Bianconi
<lorenzo@kernel.org>
Fri, 18 Oct 2019 21:31:23 +0000
(23:31 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 20 Nov 2019 12:23:50 +0000
(13:23 +0100)
Since mt76x0 does not save the phy calibration data it is not necessary
to wait 350ms in mt76x0_phy_calibrate
Tested-by: Sid Hayn <sidhayn@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
index
711a352
..
61e1a08
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c
@@
-899,7
+899,6
@@
void mt76x0_phy_calibrate(struct mt76x02_dev *dev, bool power_on)
}
mt76x02_mcu_calibrate(dev, MCU_CAL_FULL, val);
- msleep(350);
mt76x02_mcu_calibrate(dev, MCU_CAL_LC, is_5ghz);
usleep_range(15000, 20000);