Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4949825ybc; Tue, 26 Nov 2019 18:02:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyVY6717Tm+CYAWnbUIVouaRa9QcwqNQAxsQP0A3GhimUS26BeICdSVI54wTU89SLDYiwrD X-Received: by 2002:a50:f747:: with SMTP id j7mr29106106edn.247.1574820145845; Tue, 26 Nov 2019 18:02:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574820145; cv=none; d=google.com; s=arc-20160816; b=YTplQcRCbh1/zDrV2l7ZHxyyh/LGzLDM4fn9aJa2b3S7O96iZAwaqNfVRKCXc/EeYh Qgq077Vg+off/Mr5VqAFQU0ApZD4VHWyn4TXzRPG3DRFJZneU8wZKcl8MktqDmHDu+ae Wb7c4eJyoMfUw7l4REwRP+RipoOGvKZNVKbWy+NxSibNbeXKnFnQmk2YTymII2KNTmIf vTqZk68Px2CA5Kr55kEm9kOFOSsZ0oZ/h/o8LNjfwnOd0GYXvo2+YCl5pQZmgsMCoLqO PAj7yj2MT7U38/yFDb3oa8Wr9E5mxRiLoxoVxeAdXVBPusyYPxqXqSHcqqyGR+P+Hsek gfNw== 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=c04uTlKMAuDikNWMu5PVVMKDbJWfigV3WXc3DE/9nHE=; b=QBq7CcPssqX+k5eLZrThT19X7HLG4azB0tM6N3ibSdMekUXytGA84JikjmxNQu67U2 jntT0ra/jObhtrn9CHX7FSZULMcQyscgNv1Y5tbEwDxqBLli18bEFBUbn93X32vzOskS 01L1V2hFqLivAM3Jy0UXO+kw8s9Uoq+Pb8WoeD9SNrJNQzZoJAir1uCXWENkP9srZywq ztUEhyJo8vaZPLU7XuqUPK3DB1zL6XL1Drr5xmjDLN/yL3X7sv0yiJgf2+LfEWC43L5C BgJumBG9O5I8isE5t9KmxGQnwbMgGTNkX07o8h6wUcuVHp9JAbXLNwp8wYgbwZTB3bGH MoSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="e/cd3KnW"; 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 j1si8828873eds.39.2019.11.26.18.02.02; Tue, 26 Nov 2019 18:02:25 -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="e/cd3KnW"; 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 S1727370AbfK0CAF (ORCPT + 99 others); Tue, 26 Nov 2019 21:00:05 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:27971 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727179AbfK0B7T (ORCPT ); Tue, 26 Nov 2019 20:59:19 -0500 X-UUID: a8dc599bfab643f78ea09e26e03b1609-20191127 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=c04uTlKMAuDikNWMu5PVVMKDbJWfigV3WXc3DE/9nHE=; b=e/cd3KnWmFMjTGCNOjIYDsFdCva8BwKjok9CYJdh3ESeruu96HDcWYCPZ2VOLEgtICopxQq26cnZUQZ2tzmh9Wg/bxGYBY19OIQqYcz7iMOnd3Q9qzjEdwnc4BGF4ZFHWm0vzvZl6GXqTYFdeDasfB/T9tSQQCgmDMLs6bMQbG0=; X-UUID: a8dc599bfab643f78ea09e26e03b1609-20191127 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 697112271; Wed, 27 Nov 2019 09:59:12 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 27 Nov 2019 09:59:02 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 27 Nov 2019 09:58:20 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar CC: , , , , Bibby Hsieh , CK Hu , Houlong Wei , , Dennis YC Hsieh Subject: [PATCH v2 13/14] soc: mediatek: cmdq: add wait no clear event function Date: Wed, 27 Nov 2019 09:58:56 +0800 Message-ID: <1574819937-6246-15-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 QWRkIHdhaXQgbm8gY2xlYXIgZXZlbnQgZnVuY3Rpb24gaW4gY21kcSBoZWxwZXIgZnVuY3Rpb25z IHRvIHdhaXQgc3BlY2lmaWMNCmV2ZW50IHdpdGhvdXQgY2xlYXI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