Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp682910ybf; Fri, 28 Feb 2020 05:47:07 -0800 (PST) X-Google-Smtp-Source: APXvYqxKt6t2Yt5EKIJZ68z87cM37TFa5BnC0pAFZOCJoWeMWxsxpp2/yrtjJ027SQscbRHh0cyF X-Received: by 2002:aca:2207:: with SMTP id b7mr3199434oic.109.1582897626769; Fri, 28 Feb 2020 05:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582897626; cv=none; d=google.com; s=arc-20160816; b=ikZm3AqUPbdGzRscajCIHwHXLJHnzHg/N3absqhITTy7Ob1iObSKUn4vsLLHx28AqJ iJ1rtAgJ+Te7mGZQK6HE01wLCyiMZ6sIgyffvihEb5wUu7L6CbKBr3E17nY6Vm5eGFQ2 G8XqGL1o6coqPXLOzAGxNcfNEY0KYKiVeXE2ZuTnHg23errwmWyUCgv5OVcUJl+5+Xm2 ryhriH4jo5KMcqcmOHHNzMxoFdtFIHlT1mwqDDXc2cuBaBxzb67aXh8fymAL8lYLkQaW GrtfnXZDpC+h+Q7EXI4zWA7oKwCqeKw3B+4sLXK2PdenZielWWM0YQkVFD8dlE+/UKx4 ylGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Diu/R7310fYqKDaScMuQ2G1V+kxkV4MYnxmjnyYom8M=; b=uxcJGAkShq1KsY0kIie6ydRJ81ju3ndg+CUkoxKOqGeuDFQ/ipFaaM9CXj9K27QNoq YF7hSyxQ7AemfyP2+FZb8+BlLjekS3VO8x02leouPfg/IpOsvuPPER3E6oPa52xkokGs cfc80iKBko4SGeMYTjXkjCEjT8ojlLm3+uigVcRf+LBCTh1ZFWUw273r6a4zej/88+s/ sT8oNfhhIyywdu7MOMqLCRp4c7e46rufywVc6OFq0o1lyVZVXqU2Fe6qrXbFn9TChZgZ L32Bn9xq+pkxTt6YON21xoW9MPbRVmuVU/0RLEZHuodIKBnpu4w8k+0xBd9xQhyWOBZ/ xkfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GJJP3xaS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id f23si1601753oti.283.2020.02.28.05.46.55; Fri, 28 Feb 2020 05:47:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GJJP3xaS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727213AbgB1NpX (ORCPT + 99 others); Fri, 28 Feb 2020 08:45:23 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59345 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727048AbgB1NpV (ORCPT ); Fri, 28 Feb 2020 08:45:21 -0500 X-UUID: 15e91380469f439d9cdfc43b14ebad27-20200228 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:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=Diu/R7310fYqKDaScMuQ2G1V+kxkV4MYnxmjnyYom8M=; b=GJJP3xaSQTyBSZfx9SyRlKqioqnoh2yvyyEfL/2PVBnPi4lH88abt+SIhtRxDllTrXxdrvnUu+lUml3AMjxlkTtbI+xQ+WVPgs50GY5VQe+5oVrOe2SXW3tvSi4C+OrPsTWAP0Vs+RBceAXlKwCsDrgib2/SqQTLaBuIjSDTjcM=; X-UUID: 15e91380469f439d9cdfc43b14ebad27-20200228 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 104163788; Fri, 28 Feb 2020 21:45:07 +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.1395.4; Fri, 28 Feb 2020 21:44:08 +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.1395.4 via Frontend Transport; Fri, 28 Feb 2020 21:45:05 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar CC: , , , , Bibby Hsieh , CK Hu , Houlong Wei , , , Ming-Fan Chen , Dennis YC Hsieh Subject: [PATCH v3 12/13] soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api Date: Fri, 28 Feb 2020 21:44:20 +0800 Message-ID: <1582897461-15105-14-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 8C8D12D3777DD2317846D04236839F1ED3959A154CEC5FADD60573DE943199792000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIGNsZWFyIHBhcmFtZXRlciB0byBsZXQgY2xpZW50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