Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1735616pxu; Fri, 16 Oct 2020 22:37:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSOCMEGpkfuwjNscXQFCPQZ3uhXq9EVLdsCf2A9HD3AZE/1zr3X5uVclsWKOscztKlJ+lW X-Received: by 2002:a17:907:429f:: with SMTP id ny23mr7056198ejb.150.1602913045136; Fri, 16 Oct 2020 22:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602913045; cv=none; d=google.com; s=arc-20160816; b=p5hiIx9c/9JY8XyandPZ5fxZEQSYnq8Eyux6zaIxKuB0iPEkY2cQjtuhyUQmEK5+g8 cP8Av6mkdnUs1nyi2PKSajhsiVXITrlJaNBuwBWFsKN4+UTObH2stdaDININM8Nf10Ch ppZtT/6s728tS3YQjSUuX/+WZGvHt/zDTH4hyEnu4JuOqXx7O1Pt2rl00TUbkZwJQ3D/ WfhDR+3j1PNNz0znJjhev467JOivg1rXRrWpOWASVMSFQ3C8MCD2KN2oJWLZbjKi7/YT m2xnz2b12wSwdhk6cnuqtKxfDvOP4HBhzAMqDr3fj9Rv27+uHIk5SOXJmQPqHi8Qs4QO C3lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=EuZKtFefiJ6L/4gR71BklH0YKnd9Ub+bhASYlt1eN4g=; b=Z/BD3vljQAzdmMZNxTzjg/5uMvrGaK0v5IBiCIZ8n+xB30nl7tL+4YQ0T1QdfuoBlw z6iE1hmWDAmOHoCLs9upSaP1IGYFmZGrVeS7FHj3Is44L1lg92saLR4muxtqau76L9rr SNPzz7JE4Sj16IcKTrtkKafGKE4ymzWCTCyNtjo6OgtEgl6yQDb/E710GPt53sjf0HFb p1+YdoiNPsJi3z9TPIMad6mZONCo4oiqpdD1w/7CTp1Q65lrZvpA9/t7Ud9WI2YHtaSW bnL0lYUVaftiVLb4VoSJXhVhAy3T+VX+hxEGOWkSSQLdereK5lKkpZF2zoAuX68rOZTd RxQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BfeX+e7d; 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 rk19si3126537ejb.270.2020.10.16.22.36.44; Fri, 16 Oct 2020 22:37:25 -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=BfeX+e7d; 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 S2410838AbgJPXO1 (ORCPT + 99 others); Fri, 16 Oct 2020 19:14:27 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:33163 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2409430AbgJPXO0 (ORCPT ); Fri, 16 Oct 2020 19:14:26 -0400 X-UUID: 3e1dc6cdffa041d6ade073b772ae29ab-20201017 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=EuZKtFefiJ6L/4gR71BklH0YKnd9Ub+bhASYlt1eN4g=; b=BfeX+e7dOHnd7KHlmPGHsSt/Mj5nEh+4kCitBL3kHsqINytArf3VUkuMYXv3Q1rMIUETbmGLYZLh8V7F7BD5GWK0VdknkJmK0zP/x5c33pWQYWDe/GpcPJhrVyEgKsffyg8vvM7tBFER3lhZdebazHTlsApxDyvSp9Wjede5V6E=; X-UUID: 3e1dc6cdffa041d6ade073b772ae29ab-20201017 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 547434829; Sat, 17 Oct 2020 07:14:22 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 17 Oct 2020 07:14:20 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 17 Oct 2020 07:14:20 +0800 Message-ID: <1602890061.23114.2.camel@mtkswgap22> Subject: Re: [PATCH 1/2] mt76: mt7663: handle failure event for patch semaphore cmd From: Ryder Lee To: CC: , , , , "Sean Wang" , YN Chen Date: Sat, 17 Oct 2020 07:14:21 +0800 In-Reply-To: <267346a9a9c5f71caec03292b6c33b39864b38c5.1602807276.git.objelf@gmail.com> References: <267346a9a9c5f71caec03292b6c33b39864b38c5.1602807276.git.objelf@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gRnJpLCAyMDIwLTEwLTE2IGF0IDA4OjI2ICswODAwLCBzZWFuLndhbmdAbWVkaWF0ZWsuY29t IHdyb3RlOg0KPiBGcm9tOiBTZWFuIFdhbmcgPG9iamVsZkBnbWFpbC5jb20+DQo+IA0KPiBKdXN0 IGZ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