Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4949392ybc; Tue, 26 Nov 2019 18:01:59 -0800 (PST) X-Google-Smtp-Source: APXvYqw8xjw4POmlF+FiXUARfnUiIEIds2H1jz21RhC2SScF9LFfcfvnNHnNPwyBb9zoTjh+/xsA X-Received: by 2002:aa7:d295:: with SMTP id w21mr29019326edq.13.1574820118915; Tue, 26 Nov 2019 18:01:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574820118; cv=none; d=google.com; s=arc-20160816; b=xX1W+Qj3oPz9fq8bfKSLpJOAp1aMEs7iEtfdHb6Ls4ig16ePRP/MqyBaz70KsYHxnW v758Ngc/H7c1ehwe4c54PiDPN8Pfz/xOBX824UmdLLD1bBK9IbnzKRX+V6JmgAOTPE9x 0bICrf4i7dVTr53QEPqK6u7OAyrbN+6c8onkmuXDkU2H6S/t0L9LFIbPN9JyHxVV25d+ Xm2PI7ReW95eZ/IB1uNs0kao3KcD2u71dker71Yg/rRvT7pB4eXCaTKylJcnivMfCMVN WrzN+ZB7bts4vh2+SzeaubHw8qgxSRWBbB9leOPI0+YnJADzgMxilQJqviCIH45AxHaL w1RQ== 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=PYIwIuk2a4HwtorK3uB9aRFFhcSveovGL5ox0ges0WA=; b=GBEDxV//lDDSIZPP57UtVZ0AAHOe1lFRta8BTKLjxrPdXqScO733XJqXHonilnggnI Wbcp4Znws0IFdJX16H/Db6S4p25l6+XkTzWARTi0FMILrTI/32HipyHzCcwcRtelT8QJ gyT7siCM2b8yZRgLmyFlpCe73eqsBz88AQyvpLN3F+VOLfn8m/4Fc7TF7uQSAEm43gUh wzmESbm5MLq0hPlJtzTc5PuejRqX3HAXytiCn0sMI+l06RBOc8SczZE8smRbSb65eFnM zJFCEoe6J25kDBeImWWz/LV3Q484vS1P5iW50sYb9YejvZLL57aOZ+RCf3kj0pNS2lnX U8Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=iKzVmiHj; 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 f13si8352620ejc.311.2019.11.26.18.01.34; Tue, 26 Nov 2019 18:01:58 -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=iKzVmiHj; 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 S1727194AbfK0B7T (ORCPT + 99 others); Tue, 26 Nov 2019 20:59:19 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:15799 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725916AbfK0B7R (ORCPT ); Tue, 26 Nov 2019 20:59:17 -0500 X-UUID: 00728d1ab0794a33b986612d0a0fd555-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=PYIwIuk2a4HwtorK3uB9aRFFhcSveovGL5ox0ges0WA=; b=iKzVmiHjVnuozZ5fQsTcU1aeykrpaQVyyW+YGfMQKyUCwDfEQDeasYvXN+L1zlP6C2cgBhBPAUruKaMzI7iruR1Ec6AugMmbWCu0fJT0e6y4D82slde0Lf2ueAPYR5AJkxyd7cun52cFyc/LIzmWkD+nsyzGkXs4r2SQm+vwozA=; X-UUID: 00728d1ab0794a33b986612d0a0fd555-20191127 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1771918900; Wed, 27 Nov 2019 09:59:11 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 27 Nov 2019 09:58:58 +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:19 +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 11/14] soc: mediatek: cmdq: export finalize function Date: Wed, 27 Nov 2019 09:58:54 +0800 Message-ID: <1574819937-6246-13-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 RXhwb3J0IGZpbmFsaXplIGZ1bmN0aW9uIHRvIGNsaWVudCB3aGljaCBoZWxwcyBhcHBlbmQgZW9j IGFuZCBqdW1wDQpjb21tYW5kIHRvIHBrdC4NCg0KU2lnbmVkLW9mZi1ieTogRGVubmlzIFlDIEh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