mt76x0u: fix suspend/resume
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 6 Feb 2019 14:34:16 +0000 (15:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Feb 2019 16:32:16 +0000 (18:32 +0200)
commitd04ca383860bef90a0dab4eb397907f7f05e839e
tree833937f5e5a2459d27f7d6d0c4435f0d33c31e6c
parent8c22d81d55353209f8976074ffa9fb1085da0830
mt76x0u: fix suspend/resume

We need to reset MCU and do other initializations on resume otherwise
MT7610U device will fail to initialize, what cause system hung due to
USB requests timeouts.

Patch fixes 4.19 -> 4.20 regression.

Cc: stable@vger.kernel.org # 4.20+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c