Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp221723ybs; Sun, 24 May 2020 03:18:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyxPIexMZyyKEwa5pmTKz6Q2bVV1TItqi4TwPnfv+At107VtEWj2jK8KLHdD24jwxY3vFb X-Received: by 2002:a50:b044:: with SMTP id i62mr10588673edd.214.1590315490421; Sun, 24 May 2020 03:18:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590315490; cv=none; d=google.com; s=arc-20160816; b=o3v4IDbFEZr3TyIqTtFeLD1UxgWoNBuoIj48eOBR79bk5fX07xJzjqVOMHLtdb1uiB XJvQu7AwEl617TwpOFokHLhcEkfz7ijdMlufVLlt1eWIOQxfSlx6BEjBn2f3rP4rBk0F ZfK7dzJMGlNd9YBLlW9hQddbvGd/dGDBxbLlLjDoUqtZFPVWI7XnSqIoJoXQd28NAKp3 1sLpOibsXsp4VXHkB+GIa2oQfX+DpUlCD3nsmU00uKKIRK50I7Gnj2TqzZE+UtjpAnaE ePJWgFDk6MB1/Nwcmj47ymLtPAABQSC6rdn/xPZ5rkCDlXjzpcHHdECCwgA70Axinf58 OUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hOzMYCZ3qsvYgw8bs4JJEy5VmWKuRRy/5B9rA8cNlEE=; b=yVEy1h5woR+tjCpmBsd1mrhVPZckylx5m99HkJXbi8y98aaT8jDf1v6nh6E4p2uNmF WK+KJDML/xdnd6ktZT7P9DdQBcApqOfNvcxB/thWxKRbht6bplgUUed91KsC2NZiV16i JbBoMc4gjO3ZvvTbSLXgbtWKVupI+h4MK0K/rI9dVlNwun7dEOZ65E2pueR/3+xHKixG zwFcIaBv9jrWfTBgcPkgLo5xtEL1y1WdLvNiGtwLx3socvWrBUMf29kCzcC26CD98B51 iZgPHsubH7VcL8ItIXJv6h7jqTYyH20PaDd8+JCaf58rhWVBtlSII5txC69/5c3rLrYK 5J+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S1HfFC78; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y22si7417497edr.262.2020.05.24.03.17.35; Sun, 24 May 2020 03:18:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=S1HfFC78; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729038AbgEXKOw (ORCPT + 99 others); Sun, 24 May 2020 06:14:52 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:21246 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728766AbgEXKOw (ORCPT ); Sun, 24 May 2020 06:14:52 -0400 X-UUID: df3be4ded574407fb8d8661c7a9d15fa-20200524 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=hOzMYCZ3qsvYgw8bs4JJEy5VmWKuRRy/5B9rA8cNlEE=; b=S1HfFC78PLVuX2afd0UtVEi3+KZBJwc7t3mHpuswpYkzDBqlHFKK8LFReCGTV6VI6MtZQgeQiLOIoud5lVuPzypa4uBpz1HBqB99DKV7TlmRtwME5eiVnJMhhJH14A6uMtkmRiQH+JpuCKG/FICqg5Vxaickk5lyTEtGyfOZUNU=; X-UUID: df3be4ded574407fb8d8661c7a9d15fa-20200524 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 950141301; Sun, 24 May 2020 18:14:46 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 24 May 2020 18:14:41 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 24 May 2020 18:14:40 +0800 From: To: , CC: , , , Subject: [PATCH] mt76: fix BUG: spinlock bad magic in mt76_dma_init Date: Sun, 24 May 2020 18:14:41 +0800 Message-ID: <54dc821bf69fe8e7ae017f221069a4f41ae37893.1590260648.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 4D90F55D31A314470E2E0E7DED0FDB3AADD4CE3F33CA5DB2C81192D7CF81C5A82000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org RnJvbTogU2VhbiBXYW5nIDxzZWFuLndhbmdAbWVkaWF0ZWsuY29tPg0KDQpkbWEgaW5pdCBzaG91 bGQgYmUgZG9uZSB3aGVuIGRtYSBoYXZlIGJlZW4gYWxsb2NhdGVkDQoNClsgICAgMi4zNjExMjdd IEJVRzogc3BpbmxvY2sgYmFkIG1hZ2ljIG9uIENQVSMwLCBtb2Rwcm9iZS80NTYNClsgICAgMi4z NjE1ODNdICBsb2NrOiAweGZmZmZhMTI4NzU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