Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp280470ybl; Thu, 5 Dec 2019 20:03:43 -0800 (PST) X-Google-Smtp-Source: APXvYqx4s48isFa3iVrs/jq/OrOGY3XSRnoEDHZstLx4CR+//HVwEkHrsEVLnt969/vC1ILsfDTZ X-Received: by 2002:aca:5a45:: with SMTP id o66mr10778716oib.114.1575605023406; Thu, 05 Dec 2019 20:03:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575605023; cv=none; d=google.com; s=arc-20160816; b=xCMjlSLb/Q/NC5uOEMUI/ShIKYaQ9x6GBis897F2fXAZVyMfvzWJjin/acvkH+KFqs IIhcTcAMHQ19tDHjD3KKPMGN+Dynfw39b42kBizrEAAEcAq0m6v6J1YwDEumCxiyzecK yG8DffzIXtVX2NKmUqoo54wmHsfaiihwHQW2u1CjS2fQs4eJEBlU7ct9t8C/ldc7Jhnb cTt8L3Pcjvb5dm3IUz15AInbGnoLUjx3l45I1xSSCfgkpxI7jEnPuTi0uUWkTGyTxPp+ y8qN9vopBKZoWJeIdEWaKWOff/Iz99JyhIcGSKz0tF5+CMhcB/Q/SjMntZoeWjNNJXQf u5gA== 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=xM1L7Jfwq/gv/BGLE5pId5BVEEmzAIvJRnTMFQtcXVo=; b=J1Tgmh1RG4+HcpvRqQUhJbZjhEL0QBHlvAFwvpmsnZcDqioD9tcC2j0ce2yrkMp67+ YlXl3YT6IOAUUZGoNmYEfTbbVctbDtj/h85i3/TzHTir7Od2Ptj0jprZN93NA+m5Ol+c FB4wKYPw0ci1bKFyZIcDValkJPFrryjl2+omB3Q+b7kYieULhLXkvWft071tSBomQ5ln l7Y83nZM41llgrzMS3CMT8yNQcGLIeRFaBRC5u1lHV+zjNjiF1aEuQ1UcvDo4Hsc16w7 O54ea/RZcDgjn9fabEfxsPftIJbpXi1bhX+u/3vgPO120Yp1tgafYYid3STkIO7bx13h LcDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=je2GzQ3w; 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 u130si6418680oib.211.2019.12.05.20.03.30; Thu, 05 Dec 2019 20:03:43 -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=je2GzQ3w; 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 S1726508AbfLFECy (ORCPT + 99 others); Thu, 5 Dec 2019 23:02:54 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:25935 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726076AbfLFECy (ORCPT ); Thu, 5 Dec 2019 23:02:54 -0500 X-UUID: 8487336daf2a4aed89f6773565c8ce34-20191206 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=xM1L7Jfwq/gv/BGLE5pId5BVEEmzAIvJRnTMFQtcXVo=; b=je2GzQ3w3wIwOGnb46+d1zPcyyvWnRWZMqZfYDE8fPemc+HUV6fCuras15LohSMUMJncbRVFqO7f28eTDB2OLKvZabOlwoT2Rh0mvtOEqPn/fwwIOfBSpRsgkaG8nk88xB4jr2DyGptKNOxZuHFYexnGYp757QUS91gCIlYQFzI=; X-UUID: 8487336daf2a4aed89f6773565c8ce34-20191206 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1295145907; Fri, 06 Dec 2019 12:02:47 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 6 Dec 2019 12:02:33 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 6 Dec 2019 12:02:32 +0800 Message-ID: <1575604966.6151.1.camel@mtksdaap41> Subject: Re: [PATCH v2 06/14] soc: mediatek: cmdq: return send msg error code From: Bibby Hsieh To: Dennis YC Hsieh CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , CK Hu , Houlong Wei , Date: Fri, 6 Dec 2019 12:02:46 +0800 In-Reply-To: <1574819937-6246-8-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1574819937-6246-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1574819937-6246-8-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 T24gV2VkLCAyMDE5LTExLTI3IGF0IDA5OjU4ICswODAwLCBEZW5uaXMgWUMgSHNpZWggd3JvdGU6 DQo+IFJldHVybiBlcnJvciBjb2RlIHRvIGNsaWVudCBpZ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