OSDN Git Service

mt76x2u: run device cleanup routine if resume fails
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 24 Aug 2018 08:17:49 +0000 (10:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:08:29 +0000 (11:08 -0800)
commit3041b096a3a4929f7cc1fdb97811bd2048b02ed7
tree22c344d1f7310973a2d727bfcfe049939947c093
parent6436e7900c161132da729cf458021863acda773e
mt76x2u: run device cleanup routine if resume fails

[ Upstream commit 9b2fd48d36e25b9be9ddb8be8cc1eb263a1d1843 ]

Cleanup {tx,rx} and mcu queues if resume operation fails

Fixes: ee676cd5017c ("mt76: add driver code for MT76x2u based devices")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/mediatek/mt76/mt76x2_usb.c