Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3297101ybf; Tue, 3 Mar 2020 03:23:46 -0800 (PST) X-Google-Smtp-Source: ADFU+vsbZeEVhvWZolM4s/P4OigyygRdjuDzGJapllfO5hoLn5QRskdVQlVJt/27fxT3XJv6RCwv X-Received: by 2002:a05:6808:983:: with SMTP id a3mr2119852oic.172.1583234626127; Tue, 03 Mar 2020 03:23:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583234626; cv=none; d=google.com; s=arc-20160816; b=BneTEYnzSieKCqNBqn1x5DjSM4SnLvEp3FXMFvwLOMXM+uE9DNCDj4T7zjCkhZP34k TSyradHFKoC6J8J/lbZq4iYuYzvjn64QwmxgmFKY24ixmUawvrgHdxUDqQ8H/Uw3F4w7 zrjx1V1ZSu9iO5e8pQgSKNauG3XTelyKULMqb0xWukOQBBJZi4Q4x2pniq0qHmE3sZwy +WVJnn+vgKvkj0FAy/5fWJMuf07CckWkyyYPToCjyD2CiHb5+3bYl86AuFoUV68VcMPd DCN0z6gJbqRrC1YkCf37NMaqJh4fwNfOkn6mmq78wzO+VI9RqyXqdCjktoZ9A9AeQZUg 4S/g== 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=4gus99AtaWbfJ9Jj+bwXAIVepEEKDooIVQr0HxfQqRY=; b=qsyp22h2S4MNN9CTrvDJINQ/UU5Tzfvfj6pDfKDtcU5qmZXU8HfCAw4FXWwgtb6RQO KwJtk7ndgGb5ix+yBX4SW6U0heqZKYEGWSM/5L1BTPT9hvVgCrDfW0/0h35kIzeXbX/f gHaL9UpNus99iN4eAHumvnK1Ekouow4vOguX1WR9B1rYYRAwTPJTmV1EXSi7c9nJVEWC oXzWvOxbil6nMm2XD1qhdno9uw6TlXJs5gI+qxn0jaXbAyOknB8Mgv43HCq11QwJNxOQ 3h2AUMiEEQAUiwoeVChaacIarqHIlYm+YcEeuC9ng0UiIzUVlCWawn3QM8QWJkRSemRs omhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="W2Z/bVmB"; 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 y8si8436837otq.122.2020.03.03.03.23.34; Tue, 03 Mar 2020 03:23:46 -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="W2Z/bVmB"; 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 S1728986AbgCCK7E (ORCPT + 99 others); Tue, 3 Mar 2020 05:59:04 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:40631 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726694AbgCCK7D (ORCPT ); Tue, 3 Mar 2020 05:59:03 -0500 X-UUID: c8be9f893939486b86a55058bb6470e8-20200303 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=4gus99AtaWbfJ9Jj+bwXAIVepEEKDooIVQr0HxfQqRY=; b=W2Z/bVmBpfMXBaPYcNmhZFaDkQUaAg3wmsXh3id6rvMWX3YZjPwxGHhgoqPnk7WD7xU5T7n/Xh5YVD+KrqJrtgFlV2pHvuMbcZ8gDggVqZz3uAsncys2PnOfnXjXCznZwn6KyC7Pao66zrTlD92WjF212bq3u2BLwKt8MFqyM58=; X-UUID: c8be9f893939486b86a55058bb6470e8-20200303 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 2020885471; Tue, 03 Mar 2020 18:58:49 +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, 3 Mar 2020 18:57:48 +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; Tue, 3 Mar 2020 18:58:12 +0800 From: Dennis YC Hsieh To: Rob Herring , Mark Rutland , Matthias Brugger , Jassi Brar , Philipp Zabel , David Airlie , Daniel Vetter CC: , , , , , Bibby Hsieh , CK Hu , Houlong Wei , , HS Liao , Dennis YC Hsieh Subject: [PATCH v4 10/13] soc: mediatek: cmdq: export finalize function Date: Tue, 3 Mar 2020 18:58:42 +0800 Message-ID: <1583233125-7827-11-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1583233125-7827-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1583233125-7827-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 IGFuZCBqdW1wDQp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