From patchwork Tue Apr 23 08:00:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislaw Gruszka X-Patchwork-Id: 10912089 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 7EF6C1575 for ; Tue, 23 Apr 2019 08:00:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7184D2847A for ; Tue, 23 Apr 2019 08:00:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65C6A28814; Tue, 23 Apr 2019 08:00:24 +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 20B802847A for ; Tue, 23 Apr 2019 08:00:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726033AbfDWIAX (ORCPT ); Tue, 23 Apr 2019 04:00:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58650 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725888AbfDWIAX (ORCPT ); Tue, 23 Apr 2019 04:00:23 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2AE498830E; Tue, 23 Apr 2019 08:00:23 +0000 (UTC) Received: from localhost (unknown [10.40.205.98]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9687D5D9C8; Tue, 23 Apr 2019 08:00:20 +0000 (UTC) From: Stanislaw Gruszka To: linux-wireless@vger.kernel.org Cc: Felix Fietkau , Lorenzo Bianconi Subject: [PATCH 0/3] mt76: suspend/stop/removal fixes Date: Tue, 23 Apr 2019 10:00:16 +0200 Message-Id: <20190423080019.6384-1-sgruszka@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Tue, 23 Apr 2019 08:00:23 +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 uneeded goto - fix comments and changelog 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(-)