mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 2 Jul 2019 11:39:49 +0000 (13:39 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2019 15:42:28 +0000 (17:42 +0200)
commit6c6a3fe6f9154dd2c7e545e73ec7d8e8ee9a46cc
tree8d3f00df4141c823f0f3d7c721189973478106f3
parent2fc446487c364bf8bbd5f8f5f27e52d914fa1d72
mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine

Add mt7615_mcu_send_ram_firmware routine since mt7615_load_ram runs the
same code to send ram firmware to cr4 and n9 mcus. Moreover rename
gen_dl_mode in mt7615_mcu_gen_dl_mode.
This patch does not introduce any behaviour change, it is just code
refactor.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c