Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp788990ybf; Fri, 28 Feb 2020 07:39:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzsW+KF4khWP24xRZz0YOJD3NOmO9klwAbI64M00OPLpvvSwn/G/ASLcR9HKYssZEw49Bf1 X-Received: by 2002:aca:af09:: with SMTP id y9mr3388273oie.101.1582904395909; Fri, 28 Feb 2020 07:39:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582904395; cv=none; d=google.com; s=arc-20160816; b=gsco6vZnYjQi30gLB7BbDms4OucOSAAU4oG/eh6dAoOZRIXU51k141uY89V8jNWt10 pUfL5sKF3FV3SNHefkVSMZU20K8cOIYGZStus//IsPzDque7VuFMnFvaMH/ynk7vPGfE z5QF/Nj6yw6hrYW9sfHgUHpu9Mb2cGHDpKWw9LFuxJI01yEmxBjK/glQdrcLm2xprghX qLvqcMhWXJI4XxFop9wDwCXp+55vsbmp6ilbGJVtvYTx+0fb2kgcDRWMD4N0rOwnfonE zh4ev1mXr8PA3CFuPeRf6tVboKsshZ/54i+9qatgY5lx02EbQXHuzKobDV7C6LNkgxQN mpSQ== 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=K1/FjNHc57KhQ76Cn3QZo1foNtzkkZjOg40TS1GEvyY=; b=E5doXAbV3jDrhpURGkRUJkz6lcDIFZE0DeCcKN98c8iP52j6WidnWNXB2K/HQKLRWZ uSmwrxi3rScVN45hE9G2sc5Hz1HjykwICKW0S4kI4Bi+PKlrK8li7VIMOOmGU9YD+7Q0 g5k19+0NN7g22041En+uI6kiEuItyz+NHtYAL0eECkxxtI2IoAyO72n9/lHeCqos9RZw cJ2CbQqZObmdEiOcuw03uZOKqaAPqxNU2WX+0018woAi2fbvOY0qOtvZxnXF4LgTVxt5 vipmFOYwGct+B4EXA3fqk8h1Ql6JhC72YUC8QceO4SIAsRpDR4TdQo1gfCx25VWs+S3V Wmcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=TXXSvD1x; 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 193si2095071oie.51.2020.02.28.07.39.44; Fri, 28 Feb 2020 07:39:55 -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=TXXSvD1x; 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 S1727084AbgB1PjP (ORCPT + 99 others); Fri, 28 Feb 2020 10:39:15 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:48351 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726905AbgB1PjP (ORCPT ); Fri, 28 Feb 2020 10:39:15 -0500 X-UUID: 3e229069cc984930aa813cf1bd848ed5-20200228 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=K1/FjNHc57KhQ76Cn3QZo1foNtzkkZjOg40TS1GEvyY=; b=TXXSvD1xoKc4AxHzgApu4M+YEl7tlzngM7EeOwPiXedjYZDZFko6yJFaVrMuVddQmZo8L9lP6vlBTCvjreHEPKmV4ZdvpO4A6dh3fvwejvZsTnW+UDVPnSHUEzf6XAx/b6S8iTaZWapB414hEMZr7y8cbu2d7zRw9kJGk7nQwhs=; X-UUID: 3e229069cc984930aa813cf1bd848ed5-20200228 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1342788308; Fri, 28 Feb 2020 23:39:10 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 23:38:15 +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, 28 Feb 2020 23:39:00 +0800 Message-ID: <1582904349.14824.19.camel@mtksdaap41> Subject: Re: [PATCH v3 05/13] soc: mediatek: cmdq: return send msg error code From: CK Hu To: Dennis YC Hsieh CC: Rob Herring , Matthias Brugger , Jassi Brar , , , , , Bibby Hsieh , Houlong Wei , , , "Ming-Fan Chen" Date: Fri, 28 Feb 2020 23:39:09 +0800 In-Reply-To: <1582897461-15105-7-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1582897461-15105-7-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 SGksIERlbm5pczoNCg0KT24gRnJpLCAyMDIwLTAyLTI4IGF0IDIxOjQ0ICswODAwLCBEZW5uaXMg WUMgSHNpZWggd3JvdGU6DQo+IFJldHVybiBlcnJvciBj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