Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5093550ybl; Mon, 9 Dec 2019 23:51:15 -0800 (PST) X-Google-Smtp-Source: APXvYqw9BWzI9l0ADiJs/TOC2iYcfdfJHyybkOB3AZrCfhts4Cn/dG1IW7xzKl3k1mMqhZ0C2IsJ X-Received: by 2002:aca:570f:: with SMTP id l15mr2943965oib.120.1575964275169; Mon, 09 Dec 2019 23:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575964275; cv=none; d=google.com; s=arc-20160816; b=G7MPRvhT4Y3KGPJKUFMLKDk0cPOD+gukTmGfOkUiAnQl8aHrol5jtBDtKr57ayrV/a lhC+mTvuuLL0L021nEgCuwa5oOiJ419FJifY+T0nuvgkcut3msVXeyotu2ST99mVEmD1 EkgLWnfcIbn+NAeQo6r3/una+dPfcUkLQmWH3P7F0VZG1JSuMJHTthd2FqGBJRg5kYpZ T5LthjcZaxTJFFlz95gKQXQ6+0WJm2eb0v4z3M9z5BZ88MsL88gyGZJ87AZVUfph0zvb XSH4fawCiL59w37OQ7tpg7ALjdInGfrNTLlnT6ZtbruQqBgsLxTUtJdIhGa/XmelbI0v /7QQ== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=JL3qkLaljq80IvyBNK1e0OAptSLHH1w7K2FYS4Mu4+8=; b=jWLSwI0g0FdcKs0wCgccStq9LSS0GSL0G51+2pMmC+nEzaYMdNFqIEjAVYy9DRxmHQ 8S/qy9xczBL/wWHvzwmHHWSGskRIRbSOrajHghjzUHX7mEGDIqEqikQ98iGnmYQfJobY YtUVCZyu7b0H02G2fBiylbl3x0cukrVNnGnPOeMl78YqFxunOpzhM4q/i3gj9mrSGxHp xPQ4zYIBhcbDiqhSePXqosvOFu5ArXSOCU5MvHrQnoperOEzo7g8djRPKUO0j67EiVRW l4Y9qe8vLgWOQ2fZ8FgtRFn1ea9pyWnDMgNRXOs8e2D7SbFWHHA2n4hxj4oMzp1BHGiE /OaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pnYDze4P; 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 d17si1563079otp.315.2019.12.09.23.51.01; Mon, 09 Dec 2019 23:51:15 -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=pnYDze4P; 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 S1727224AbfLJHu0 (ORCPT + 99 others); Tue, 10 Dec 2019 02:50:26 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:12613 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726071AbfLJHu0 (ORCPT ); Tue, 10 Dec 2019 02:50:26 -0500 X-UUID: 328127590f9f48e6a0b31a4a1175a6c3-20191210 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=JL3qkLaljq80IvyBNK1e0OAptSLHH1w7K2FYS4Mu4+8=; b=pnYDze4PDw3LNvqsJ9N4j1pEKHzA6nP7bTtf5VdAtRdg62/wshCcXA0I+rXCj4TpesT5BKuR2OnBUtsFti05F5uz5aoa0Dn1bFAyp8bWKaypVtKNJFFueIH+Npb4YKMWPQS7hSoATkJZX6KjTIEtJeVh7L5xYseeyUOkPZ4JRGo=; X-UUID: 328127590f9f48e6a0b31a4a1175a6c3-20191210 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 1483728837; Tue, 10 Dec 2019 15:50:22 +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; Tue, 10 Dec 2019 15:50:03 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 10 Dec 2019 15:50:26 +0800 Message-ID: <1575964221.13210.1.camel@mtksdaap41> Subject: Re: [PATCH v2 11/14] soc: mediatek: cmdq: export finalize function From: CK Hu To: Dennis YC Hsieh CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , Date: Tue, 10 Dec 2019 15:50:21 +0800 In-Reply-To: <1574819937-6246-13-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1574819937-6246-13-git-send-email-dennis-yc.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 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 SGksIERlbm5pczoNCg0KT24gV2VkLCAyMDE5LTExLTI3IGF0IDA5OjU4ICswODAwLCBEZW5uaXMg WUMgSHNpZWggd3JvdGU6DQo+IEV4cG9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