Simplify mcu api and wait for response for mcu commands the same as vendor driver. This is on top of: [PATCH] mt76x0: use band parameter for LC calibration Stanislaw Gruszka (4): mt76: remove mcu_msg_alloc mt76: remove wait argument from mt76x02_mcu_calibrate mt76: remove wait argument from mt76x02_mcu_function_select mt76: remove wait argument from mt76x02_mcu_set_radio_state drivers/net/wireless/mediatek/mt76/mt76.h | 6 +-- drivers/net/wireless/mediatek/mt76/mt76x0/init.c | 2 +- .../net/wireless/mediatek/mt76/mt76x0/pci_mcu.c | 1 - drivers/net/wireless/mediatek/mt76/mt76x0/phy.c | 16 ++++---- drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c | 43 ++++++++++------------ drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h | 16 +++----- .../net/wireless/mediatek/mt76/mt76x02_usb_mcu.c | 18 +++++---- drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c | 22 ++++------- drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h | 2 +- .../net/wireless/mediatek/mt76/mt76x2/pci_init.c | 2 +- .../net/wireless/mediatek/mt76/mt76x2/pci_mcu.c | 3 +- .../net/wireless/mediatek/mt76/mt76x2/pci_phy.c | 24 ++++++------ drivers/net/wireless/mediatek/mt76/mt76x2/phy.c | 4 +- .../net/wireless/mediatek/mt76/mt76x2/usb_init.c | 2 +- .../net/wireless/mediatek/mt76/mt76x2/usb_mcu.c | 4 +- .../net/wireless/mediatek/mt76/mt76x2/usb_phy.c | 20 +++++----- 16 files changed, 85 insertions(+), 100 deletions(-) -- 2.7.5