mt76x0: phy: update set_channel for mt76x0e devices
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 12 Oct 2018 10:16:21 +0000 (12:16 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:45 +0000 (17:39 +0200)
commit592ebc9cc6e0e00eeca7e60d534f219ee1f64d6c
treeb7ce1910918d1f6bb5bb6d73dbaa9b01132a8557
parent9aec146d0f6b532446b81f3fb3f8b7545b436dc5
mt76x0: phy: update set_channel for mt76x0e devices

Do not run mt76x0_vco_cal and mt76x0_bbp_set_bw routines and
configure MT_TX_SW_CFG0 register for pcie devices in
mt76x0_phy_set_channel function.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c