]> 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)
commita4db5165f93f0e1a8beb6ad409c821a2a060031f
tree833937f5e5a2459d27f7d6d0c4435f0d33c31e6c
parentbc19892c2366a0088a6e687f092ab32f42e107b9
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