]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3ebf76bade3829ba211b22256c6ed43fc2c241b
tree833937f5e5a2459d27f7d6d0c4435f0d33c31e6c
parent02e404d993e6e9908d2d96c4812405bd783633f5
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