]> git.baikalelectronics.ru Git - kernel.git/commit
mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 9 Sep 2018 21:57:59 +0000 (23:57 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:35 +0000 (12:31 +0200)
commit783d97617c42b998b599c13eea22a97824054aa0
tree7f0ccda1686fc94c5260c7aca69112d35f75d47b
parent12829799f7c212ca0abd8e73a11dc577d0280974
mt76x2: use mt76_dev instead of mt76x2_dev in mt76x2_mcu_msg_send

Use mt76_dev data structure instead of mt76x2_dev one in mt76x2_mcu_msg_send
and mt76x2_mcu_get_response routines. Moreover add wait_resp parameter to
mt76x2_mcu_msg_send signature. This is a preliminary patch in order to unify
mcu_msg_alloc()/mcu_msg_send() between pcie and usb code

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