mt76x0: disable HW before probe
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 31 Jul 2018 12:41:03 +0000 (14:41 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 2 Aug 2018 18:51:04 +0000 (21:51 +0300)
commit369bbecdbb2def6265c06512c44e1fbe6ad8e556
treee2c7442d9ee603b41ba7233df54517e535ac0d7a
parent52abb142baa0f35291ac2f12b56e56fa071b95d8
mt76x0: disable HW before probe

Disable HW before probe, otherwise after reboot we will fail
to initialize MCU.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x0/init.c
drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.h
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c