Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp374676ybf; Sat, 29 Feb 2020 05:42:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyrT93Ho2xAbCSCYq3KgQsVwIv3uweAvK1GbrWg3PmUgWCGvvjFdTzIA4PsoYhN+OYMYmDb X-Received: by 2002:a05:6830:1317:: with SMTP id p23mr6929099otq.3.1582983736381; Sat, 29 Feb 2020 05:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582983736; cv=none; d=google.com; s=arc-20160816; b=HFChMJdiU+bq1yPggqUXgGu3G/d6MkuVIRCIv/cm0RIrVAvkyeoHmqN8GmQcon3OF/ s/q/yjZXWqAJj5Dv9/Y5uaFO/3lvBTdMcmUpeG6NfvIbJ5tBZ27RORBc0qI1fjzDw3bY 8z/sV2kfZ2/1UYdS4hknclgDQq/HfGF6S4uwmxwu/czRaT3ySiyxvNtMjQWt4HOzyG82 hcK5lFQ7+VUlLny+6nq/OiKeEpJ1OuKuglpVCunBd3SZRy088bXGtyMrtY6pXZdZc/GR nSy1ch/xk+FfM29BRNCADDgl+RCQym+kmeDtnuEZzx581KIFPgIw+5RW6PlYhvtGmf8n QIag== 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=00XiYHa78TlbDkBS+pf5ukriX0Bv5XzT3h8NaBRlnxw=; b=NUHh/gug2CKCPk0W8+kLop97doA6SAOQlOyE5XzjG0mDEs5R3CwJ2TPcCXr1eQZJVC LN3kSrJrAKtsGGRl1wGozGi6faAowTj49Ju6g4GTEaKEsSAm3ny7/yTf7kLE2iBfnRbY 32mHNkl29y3Vijg5lcTgBsAe2rLvUCzvihfye7cVOq2EHGJCZLsgRfHGVxZLNIIWnOhm yuHPzbVSl4li52aDZfUp/vpy9v/0gjOCgpa9AiZcqoCBHPYNEu8GEN+v0u6QelY+vCnn haK0z5ztAaP6xrvMxQoUcQ8xRyJCqE1Y11dR3viFay04cPyR1QV1jsLgOWpTczk9J8Ld F9tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=bVIt5D97; 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 m9si3510401otq.304.2020.02.29.05.42.04; Sat, 29 Feb 2020 05:42:16 -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=bVIt5D97; 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 S1727039AbgB2Nl4 (ORCPT + 99 others); Sat, 29 Feb 2020 08:41:56 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:40725 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726998AbgB2Nl4 (ORCPT ); Sat, 29 Feb 2020 08:41:56 -0500 X-UUID: 0d24dc072c3d4486bb8c1466371f0837-20200229 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=00XiYHa78TlbDkBS+pf5ukriX0Bv5XzT3h8NaBRlnxw=; b=bVIt5D97cIF1vOiGVa3JhpWmO0Z4Om8Yjyl7j71M5m7rba5r1EUnGEAy/hdI1AK3yIHWnkeCcHMVZX6r8oS/cItlmfQTfp8KNxtp546eNmLpignbvTd90QJI4d5muLGBWo6e7hejM3AGyZGaHb4T5en5ca56cJmFhoCv/QE1j7c=; X-UUID: 0d24dc072c3d4486bb8c1466371f0837-20200229 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 399571944; Sat, 29 Feb 2020 21:41:49 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sat, 29 Feb 2020 21:40:54 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 29 Feb 2020 21:41:25 +0800 Message-ID: <1582983708.21073.6.camel@mtkswgap22> Subject: Re: [PATCH v3 05/13] soc: mediatek: cmdq: return send msg error code From: Dennis-YC Hsieh To: CK Hu CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Sat, 29 Feb 2020 21:41:48 +0800 In-Reply-To: <1582904349.14824.19.camel@mtksdaap41> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-7-git-send-email-dennis-yc.hsieh@mediatek.com> <1582904349.14824.19.camel@mtksdaap41> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 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 SGkgQ0ssDQoNClRoYW5rcyBmb3IgeW91ciBjb21tZW50Lg0KDQpPbiBGcmksIDIwMjAtMDItMjgg YXQ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