Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp681730ybf; Fri, 28 Feb 2020 05:45:42 -0800 (PST) X-Google-Smtp-Source: APXvYqzQsyFv7EueBrz6C/1Gbrn95CwvUxkLcTOWIrp/v7+cm53zxP198ohA5lCVuNzdgfKmIMHn X-Received: by 2002:a9d:4d96:: with SMTP id u22mr3277272otk.271.1582897541866; Fri, 28 Feb 2020 05:45:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582897541; cv=none; d=google.com; s=arc-20160816; b=mvrYVDsY4U+oXRQqMNZ9B4Gm6JmXqUZycwpRaoGrEVzD1Vy3OdD0VitPTH88q1Lfhq MDJvV736dK8suk0ZQDCboovw2vXY2gCHJrZpu7GY1KGbelpwZHIq22IAeOv5+qJSvaTj Dft4EP3dmFSVKGfzzTJwVRPNRspnx+yg2pFd5yAI6fgGUQa5TXXA6kslQuTsWEYPNB9x yP2DItpeZMZBgFb05k0TmXEcmCyhvM1jJcTCKB6w0DtYfw/+PwAY6gcx9IDR9w2H/mqk 0aguFOSbD0OvKCPfVuk8E5jySZhPKi0KQb2uWK6Tk/M1kX83fZJgaxc6S41Flz4R9lAp /OEg== 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=cboCRZgtbMRKG7dnNyYFwyS8wl4wWUNnD8jnwAzifvk=; b=JmLgrpRnL12leI1io22fUYnI5sEmX4tkKRf3KESFTms6O2FKBU4k7gAqu+A310RTNo AGqlM5X/tHASQ92E/JdYqwHbFNY32QD8LLvQla6xCpRm2bMgsYEYNhrambpbPo7IIvl5 HTo4Jw1UqhQZgD0FY1h7viyLuKQ/SJ86X4OhrDlnWwrU492mN8YIYNYob7m3ehu/MMo2 PhyBPhkXBWyoxwl47k1zyPpEpmHCxXdWZYNpu54+vzcEuJQuOIIzOdC6aomlHvBZDMvL THb44ZaEzM7yISH333Rc+rVYtEZNQ0LrPM+72v7k0Qnn/lXNxM9rqXzrumv02d9pRR5C RMBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=KtqMprH2; 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 o6si1808062oic.34.2020.02.28.05.45.30; Fri, 28 Feb 2020 05:45:41 -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=KtqMprH2; 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 S1727075AbgB1NpP (ORCPT + 99 others); Fri, 28 Feb 2020 08:45:15 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:64957 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727018AbgB1NpN (ORCPT ); Fri, 28 Feb 2020 08:45:13 -0500 X-UUID: 1fac3e626be44ad4b71fe01dd4a9ffe2-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=cboCRZgtbMRKG7dnNyYFwyS8wl4wWUNnD8jnwAzifvk=; b=KtqMprH2hVpda6wbcgox6QJjrp+yPQ+GH4UEpsKb85wnHeEkDjDNRLpbgIHkvBJ3wcfYdWWDdJZa4P7hEMi3SABfHyU0eSgSnh2+NkpP1VAgR8fFfqxdwxtKYIh2lue8M2j9Y9I4zPzHUEfgKjLJK5xa2sEX1stxRB2gL5UtXsQ=; X-UUID: 1fac3e626be44ad4b71fe01dd4a9ffe2-20200228 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 915688716; Fri, 28 Feb 2020 21:45:08 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n2.mediatek.inc (172.21.101.140) 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 13/13] soc: mediatek: cmdq: add set event function Date: Fri, 28 Feb 2020 21:44:21 +0800 Message-ID: <1582897461-15105-15-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-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 QWRkIHNldCBldmVudCBmdW5jdGlvbiBpbiBjbWRxIGhlbHBlciBmdW5jdGlvbnMgdG8gc2V0IHNw ZWNpZmljIGV2ZW50Lg0KDQpTaWduZWQtb2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