Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2038754ybt; Sun, 21 Jun 2020 07:22:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYUzw45Dmr/XvbBlzx5y7aHuLUJDggPYhXsfqhFzaCK7XFua89ahfFaEez/TrSIz5qNbGH X-Received: by 2002:a50:b8e3:: with SMTP id l90mr1715937ede.172.1592749337398; Sun, 21 Jun 2020 07:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592749337; cv=none; d=google.com; s=arc-20160816; b=SvfGF/6iEOOtl8xtyWFcRAWQ2XymRHtlLCIJNZAT7846vQf2IxJBmIyQyeJY9QRpnU mHQboNZunuVsB054VIB3qoZnT9su3ffaJKpF+aHYLXEJuYHg2OvyCZqwF0n5i4HO+cnS H+kYCluoG5hmOYGtTYHYMxHFEOagGV+6FFy1q1nhXV5KYji3O8hZdb9UvfRQxuquG+Ho vf7RQ9IaeXmo241nvExjyZk5pLZFl28zGPmxl9CgOMbP88OfvOj4trGD6SRxyOkkFbxE xhjEv+h/cxWs+ola9xQ3QisCgSjIsUH/Lq2oLNnKyHUV84g/jlBSN1IrC4cAI8FgIqNU Ec1g== 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=TkOkIDLhlS19sptnDuqd/11Wt1fkDOu2XgPHJBhqzx0=; b=Gq9acVp9bchQiAnSzBPC1IJBfSfd2vLBkTbnf7FRc3Pp17JuZ5rzmBOhaA+xZUs4PH bmHZGWP7o5k0ojQJ3+2hdUgkPPROULcFXSIL7W0/6kPStU/dbIl4q02XHZOYUA+uG88S hA0hpFtVSCWUxZcxXoKifGfmRGfNb7wJyT70d8iAzhBa8Ej/TlwEDBNqzQ20zWkR8kZB 5/AehAigxLQOgtBCSUAGFIaZDoIwg8xqx0CNj6hqRTPibiFvCD1hrTULbrPqdpbVEfVE BM2OYlOeKVbuDvrd4BpkT/4F1jtUYzjw9v6wP8kiHbzSv+Cs3CnFBruPOA5uaIhpY7Wo SOMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mhRGmrFR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id nl7si7523662ejb.199.2020.06.21.07.21.55; Sun, 21 Jun 2020 07:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=mhRGmrFR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730203AbgFUOSq (ORCPT + 99 others); Sun, 21 Jun 2020 10:18:46 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:17793 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730167AbgFUOSo (ORCPT ); Sun, 21 Jun 2020 10:18:44 -0400 X-UUID: e125096b405f44278cb953e13374a93c-20200621 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=TkOkIDLhlS19sptnDuqd/11Wt1fkDOu2XgPHJBhqzx0=; b=mhRGmrFR8w90RrdcRZ6zGJFfnaaxs9OfsT4BIFKgLD1uVO4EU9pJTyCNRyB77J1wPiKodQEVVZLTZsAlaMTQvUl9yjoDxGuHJTee2OFuZF3q+UT7JJhErr+3PNx2tIwSfaxxu3mTTDTVygqwY7ysjpz6/IkRQritzmv4AnmNJyg=; X-UUID: e125096b405f44278cb953e13374a93c-20200621 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 678863230; Sun, 21 Jun 2020 22:18:40 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 21 Jun 2020 22:18:30 +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.1497.2 via Frontend Transport; Sun, 21 Jun 2020 22:18:31 +0800 From: Dennis YC Hsieh To: Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , CK Hu , Bibby Hsieh , Houlong Wei CC: , , , , , HS Liao , Dennis YC Hsieh Subject: [PATCH v1 08/11] soc: mediatek: cmdq: export finalize function Date: Sun, 21 Jun 2020 22:18:32 +0800 Message-ID: <1592749115-24158-9-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1592749115-24158-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1592749115-24158-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 IGFuZCBqdW1wDQpjb21tYW5kIHRvIHBrdC4gTGV0IGNsaWVudC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