From: Lorenzo Bianconi Date: Fri, 18 Oct 2019 21:31:23 +0000 (+0200) Subject: mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate X-Git-Tag: v5.10.7~3838^2~16^2~1^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ec1e82bbf92c3031307beb89b59b589206c318c;p=platform%2Fkernel%2Flinux-rpi.git mt76: mt76x0: remove 350ms delay in mt76x0_phy_calibrate Since mt76x0 does not save the phy calibration data it is not necessary to wait 350ms in mt76x0_phy_calibrate Tested-by: Sid Hayn Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c b/drivers/net/wireless/mediatek/mt76/mt76x0/phy.c index 711a352..61e1a08 100644 --- 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);