Remove mmio dependency from mt76_mcu_rx_event and mt76_mcu_get_response in order to reuse them in usb code and remove duplicated code Lorenzo Bianconi (3): mt76: reuse mt76_mcu in mt76u_mcu mt76: generalize mt76_mcu_rx_event routine mt76: generalize mt76_mcu_get_response routine drivers/net/wireless/mediatek/mt76/mcu.c | 15 ++++--- drivers/net/wireless/mediatek/mt76/mt76.h | 43 ++++++++++--------- .../net/wireless/mediatek/mt76/mt7603/dma.c | 4 +- .../net/wireless/mediatek/mt76/mt7615/mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt76x02_txrx.c | 3 +- .../wireless/mediatek/mt76/mt76x02_usb_mcu.c | 22 ++++++---- drivers/net/wireless/mediatek/mt76/usb.c | 6 ++- 7 files changed, 52 insertions(+), 43 deletions(-) -- 2.21.1