mt76: use mt76_poll_msec routine in mt76pci_load_firmware()
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 15 Mar 2018 17:24:20 +0000 (18:24 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Mar 2018 09:10:02 +0000 (12:10 +0300)
commitdb2ad7c25a9a01aaa53f8a74ff8ce6f35e61179f
tree4e404f112508bcd48f315185cfac777180698ad0
parentb1c2d0f2507bf56d9f4dbd46dc4b99240fbd187c
mt76: use mt76_poll_msec routine in mt76pci_load_firmware()

Use mt76_poll_msec() in mt76pci_load_firmware to check if the firmware
has been started instead of explicitly poll MCU running register

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x2_mcu.c