Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp682167ybf; Fri, 28 Feb 2020 05:46:08 -0800 (PST) X-Google-Smtp-Source: APXvYqxg79+4sFHZRn/uTJ/Mm6DHxeb39hD/0+s+vn6Ne5+xCS8QbC40e/kxooe5KcIndc6LF8+d X-Received: by 2002:a9d:6f82:: with SMTP id h2mr3304795otq.69.1582897568184; Fri, 28 Feb 2020 05:46:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582897568; cv=none; d=google.com; s=arc-20160816; b=CbCF0aStjHjXVEN/VAoLB8J+cJcEdxctgt80pD0KLmQyNOFEg8jb9ZqpMefQ0YgYzf 8CqRYWbNGoaGL0fJmtJci0knKML11ToKBfelpZl+tArokkco6Istr4uNNTHyz47fp8Ko SXD3yCKjtnVQrZw+aY+3ar82KT9DrAJiYlmptvRMlh3MHaPE/shSvimt3sR1KwtDGFa1 APpjJkqzDNnRP7pXbIp3RdffXmKDIj6HLn8LjMTflJ0vHbwd59xmSl7nDcUlBS7UhgEf j0h1jomsFgE5bFL+mSktJmvSHRsIke/ZeUOSOncHbDxOajD57MzqgAHWJBlF4mLy3y/K Oskw== 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=TKXJL9vVzdhmozmVndYQ12k2PLHyLpmAwIObwMyzwYk=; b=pZrR/XhTyFjKl02Si5pTgiv75T8m3pl2Hec8JK+Ui4BBxU1z+bz18wRl609BvRuBSn l+szjF64Qyl3gEYRFcvA4QRQuMwtd8EqFpqGTM6lokzZO7H13t4nSWRiMHYZGUo8Loiz BwUoJLQP5z+dmzc36dfIRKdbM0MUeiWGAF1+f++EocynAUQwV4JmKp+Ea5IrFcZ9xclW Vj8SPe7G2mPC3fCnlXo+HQNl1LLJgimDUVZSsu+SlrinYMu5siJXOovC/5e/q0so2gpg C7Qh58UaWMNN6aDziLUgN93Zn7cRuxe7OtFMqSSVBdOhBJ3YBa98E4Yq7pb8dF/oTLnF PVhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hrGWATHv; 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 m85si1969218oig.158.2020.02.28.05.45.56; Fri, 28 Feb 2020 05:46:08 -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=hrGWATHv; 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 S1727240AbgB1NpY (ORCPT + 99 others); Fri, 28 Feb 2020 08:45:24 -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 S1727096AbgB1NpX (ORCPT ); Fri, 28 Feb 2020 08:45:23 -0500 X-UUID: ebade297b4e34edcaae20c38a95773f6-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=TKXJL9vVzdhmozmVndYQ12k2PLHyLpmAwIObwMyzwYk=; b=hrGWATHvPQ0dIkcKYG0cnSs3SY1Fn95rVMRS1VQ3dGne831rekNytHQUqCo9Pb/xZfUFKvJasrGBrMbqukVq00URXRZsNsqCbnQG2bbBCg7KqDj+FeRaWKslda0ZSfnfzwnjaDbhImL1ZUR7gcfsRW0A0E8mbFAFHUBLlqjdFgE=; X-UUID: ebade297b4e34edcaae20c38a95773f6-20200228 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 353035926; Fri, 28 Feb 2020 21:45:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 21:46:46 +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:04 +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 10/13] soc: mediatek: cmdq: export finalize function Date: Fri, 28 Feb 2020 21:44:18 +0800 Message-ID: <1582897461-15105-12-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 RXhwb3J0IGZpbmFsaXplIGZ1bmN0aW9uIHRvIGNsaWVudCB3aGljaCBoZWxwcyBhcHBlbmQgZW9j IGFuZCBqdW1wDQpjb21tYW5kIHRvIHBrdC4NCg0KU2lnbmVkLW9mZi1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