Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp681651ybf; Fri, 28 Feb 2020 05:45:37 -0800 (PST) X-Google-Smtp-Source: APXvYqxk0BjxPZmdIzTflBQl3fkYf+OLdpyHiGmhpoO1b4TovGDCZkRuOJyx+0wOH97+nhLhWctr X-Received: by 2002:a9d:774e:: with SMTP id t14mr3342506otl.358.1582897537212; Fri, 28 Feb 2020 05:45:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582897537; cv=none; d=google.com; s=arc-20160816; b=NPqIkUM9QtTOhOJ63CfyQNf0MEhwBsyh7Y6bPqtuJYYKSX8juwJCRJwSw0qrGgeNpE L6Sagtav0VSGAxA1f2vuHgyvoeNmAnnlcEf5OQg0fhmuFlqvqkAKft2ZYU0kLj0rXD2L 5pmlQ6DD3rD/3msElwcGg56HRGlzVtf8IoTWroe6ml7YE+9NDtAMj8UiYjJpVrg6UzEM haDmrDqslYti9sunono9SEi9UrtgFjcDPKkm+1+mmnxXDbX0lISqZMcXVKiWKFQZvVDx eL8tN4hRJLyRGst4Z21lc0v3a34F292lQN4qedhoqPJibJmG//ko6zhIPxF7sHM0CLiH OR8w== 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=J3RECQ0d49qohwUAI6HrEdpeiz9kkXmR7Kg62M4vxiA=; b=MZ4XUy9v2RrSg+1ZWnFK9rqFoGyjjEDC6mM7X3XMLRc/kdOKAm2pOaLJATDpsIdDmQ WfIo+rzUqGt0cKO9tv9Gr7fmwH0VQ7y1kZSpNcxQ03RXQ/JyZEE1d8xQVEMuJqWEW18w 6E6L6s2lcSjGRkpNOmjKsP/PdVzH39s3jmfewTY8HSD5eQGqv9SeP3pqwnprzvzOcpzd os4Ii9MRYPtLDl6w8M1a8e3wOR2Av5rbH2NZ+J3JRJQ4jQyl8Y3yohfS2xpyZBBfQsTE O33TkVqwxYG5O4rv81aZMUsHqoawzpxFpfPQP7S+jMQMn2cMA0iwFhWtcTg2OBk6zXOc ftZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WIKrN8Q5; 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 n17si1938482otf.92.2020.02.28.05.45.25; Fri, 28 Feb 2020 05:45:37 -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=WIKrN8Q5; 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 S1727023AbgB1NpL (ORCPT + 99 others); Fri, 28 Feb 2020 08:45:11 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59345 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726981AbgB1NpK (ORCPT ); Fri, 28 Feb 2020 08:45:10 -0500 X-UUID: f2d6b9132802458caae2f315ebfe2906-20200228 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=J3RECQ0d49qohwUAI6HrEdpeiz9kkXmR7Kg62M4vxiA=; b=WIKrN8Q5YrtZkjMaotXjbdYt2BR25mFI1vbgi60EqB9IQv/poEt2hggUOfgQ/OcfnO3HsrAdtkMp031hL9td9rLAiRiLaeZsUf5XHx2KmRWp8p2YiKxGgDq7nkx5QWP195MoTO+mXN2wnVB/uLrQUIroBJF9Ag1es95uukr7Knk=; X-UUID: f2d6b9132802458caae2f315ebfe2906-20200228 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 1824332077; Fri, 28 Feb 2020 21:45:06 +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.1395.4; Fri, 28 Feb 2020 21:44:01 +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.1395.4 via Frontend Transport; Fri, 28 Feb 2020 21:45:04 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar CC: , , , , Bibby Hsieh , CK Hu , Houlong Wei , , , Ming-Fan Chen , Dennis YC Hsieh Subject: [PATCH v3 05/13] soc: mediatek: cmdq: return send msg error code Date: Fri, 28 Feb 2020 21:44:13 +0800 Message-ID: <1582897461-15105-7-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-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 UmV0dXJuIGVycm9yIGNvZGUgdG8gY2xpZW50IGlmIHNlbmQgbWVzc2FnZSBmYWlsLA0Kc28gdGhh dCBjbGllbnQgaGFzIGNoYW5jZSB0byBlcnJ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