From patchwork Fri Apr 26 07:58:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Gruszka X-Patchwork-Id: 10918753 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A76CB14C0 for ; Fri, 26 Apr 2019 07:58:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AC8128C18 for ; Fri, 26 Apr 2019 07:58:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8EFD628C4E; Fri, 26 Apr 2019 07:58:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4011B28C18 for ; Fri, 26 Apr 2019 07:58:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725921AbfDZH6q (ORCPT ); Fri, 26 Apr 2019 03:58:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44548 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfDZH6q (ORCPT ); Fri, 26 Apr 2019 03:58:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3DB2C81E16; Fri, 26 Apr 2019 07:58:46 +0000 (UTC) Received: from localhost (unknown [10.40.205.229]) by smtp.corp.redhat.com (Postfix) with ESMTP id A6A5A5D70A; Fri, 26 Apr 2019 07:58:43 +0000 (UTC) From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Cc: Felix Fietkau , Lorenzo Bianconi Subject: [PATCH v3 0/3] mt76: suspend/stop/removal fixes Date: Fri, 26 Apr 2019 09:58:39 +0200 Message-Id: <20190426075842.2986-1-sgruszka@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 26 Apr 2019 07:58:46 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes for some coroner cases during suspend/stop/removal intended to -next since problems are not reproducible in practice and changes relay on -next patches. Stanislaw Gruszka (3): mt76x02u: remove bogus stop on suspend mt76usb: fix tx/rx stop mt76x02: remove bogus mutex usage RFC -> v1: - remove unneeded goto - fix comments and changelog v1 -> v2 - actually sent updated patches v2 -> v3 - rebase on latest tree drivers/net/wireless/mediatek/mt76/mac80211.c | 3 +- drivers/net/wireless/mediatek/mt76/mt76.h | 7 +- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 6 -- .../net/wireless/mediatek/mt76/mt76x0/usb.c | 33 ++------ .../wireless/mediatek/mt76/mt76x2/pci_main.c | 5 -- .../net/wireless/mediatek/mt76/mt76x2/usb.c | 10 +-- .../wireless/mediatek/mt76/mt76x2/usb_init.c | 1 - .../wireless/mediatek/mt76/mt76x2/usb_main.c | 11 +-- drivers/net/wireless/mediatek/mt76/usb.c | 78 +++++++++++++------ 9 files changed, 74 insertions(+), 80 deletions(-)