Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2633445ybc; Wed, 20 Nov 2019 17:56:24 -0800 (PST) X-Google-Smtp-Source: APXvYqyOGp2k3uTykhE3ByJKV7Kow3BXosDqpgwE1+zQ9szOyKr1Fg0wwfSPL/V+9d+ZWqUQOWtV X-Received: by 2002:a17:906:198c:: with SMTP id g12mr9659134ejd.247.1574301383975; Wed, 20 Nov 2019 17:56:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574301383; cv=none; d=google.com; s=arc-20160816; b=06RrFuYR4KyPpUylnpOWa4z2NTKUwt6qI3COa4JZGAroJkYQDDPUjZ4XpXNqj9R9d7 e5Os/gX4jPvX1uglZDn7KBpyF5WRjkAInOOx3cKns47CiuotHiHztQ7UWOa8JCOE6O5x 7CbnGni29DMph8jB/if6VDhudD35Qu4EsTiIx5xNRa2j1Aj9TBOYciWG4mKrEXPl7Sew j1Uk2rYTlZxzf+rWUK2Sv0XwpZBrEVOJtU6JHmxnnaHAKKU22ymPPxdgM4x4kOze+J4d Q99+4k7WzVFPpl2v8hruB5utLKNzHUYoPhqZLaCDKOzQBTMeseCvk5+P0zj8VNkAatYZ VjSA== 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=GFOO0VfzBTO8Ub18854er0mFODXD5SR3N8gKN1ukCcY=; b=VL9RO+zv3aHAeOJ1GN6X4bqhCeff42JPRE3kV4rGA6P/ptShY0cNvV2KXUSjrW1fZD 2HdqtQ46+ezW34YRisAUwARg4T9pD0nx3Jmw20++MV8nTC84d6Jsbz3zCH4qGKK3hUNA csw25pLLnGFBDXzHNgOOMg/w0j9HYI4ccaQNKY+gEVJTCbHaB4/heCha47N1JTAKhwPR BNlRsdz0O1annjeyyBPigLWZhUGbvSMwi/tP49fZSAUEvp5Y9V1c/hfLS50MwbDZSueV h9T2AtU7w+U8pUOZcksikKYzg+RwJa5qoXfBwOkNj5WEFpXWtXHuCUVpO/dhwo/pG09/ 51pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZBYJ+sJu; 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 z15si707842ejb.399.2019.11.20.17.56.00; Wed, 20 Nov 2019 17:56:23 -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=ZBYJ+sJu; 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 S1726887AbfKUByf (ORCPT + 99 others); Wed, 20 Nov 2019 20:54:35 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:64075 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725819AbfKUByW (ORCPT ); Wed, 20 Nov 2019 20:54:22 -0500 X-UUID: 3c168d6e3ab640d292b1a6c5d92b9a66-20191121 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=GFOO0VfzBTO8Ub18854er0mFODXD5SR3N8gKN1ukCcY=; b=ZBYJ+sJu9d3ofOr+LDRL33ceKwG+Ndbg4kBtPVNqbSTlYhumU766Aug+xi7VkBNvFW4pvxs1/VCR8VxKf9LMHDypLuvNlm+bEtEpSOXhp5aqU2tco6Cxfv3KGun9r55lwbjmKKFlAWmJd2/2r9TgZLZ9/GolOyjISPQV3eat2nE=; X-UUID: 3c168d6e3ab640d292b1a6c5d92b9a66-20191121 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 413363131; Thu, 21 Nov 2019 09:54:13 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Nov 2019 09:53:53 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 21 Nov 2019 09:54:16 +0800 From: Bibby Hsieh To: Matthias Brugger , Rob Herring , CK HU CC: , , , , , Nicolas Boichat , Dennis-YC Hsieh , Bibby Hsieh Subject: [PATCH v17 2/6] soc: mediatek: cmdq: remove OR opertaion from err return Date: Thu, 21 Nov 2019 09:54:06 +0800 Message-ID: <20191121015410.18852-3-bibby.hsieh@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191121015410.18852-1-bibby.hsieh@mediatek.com> References: <20191121015410.18852-1-bibby.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 VGhhdCBtYWtlIGRlYnVnZ2luZyBjb25mdXNlaWRseSB3aGVuIHdlIE9SIHR3byBlcnJvciByZXR1 cm4gbnVtYmVyLg0KDQpTaWduZWQtb2ZmLWJ5OiBCaWJieSBIc2llaCA8YmliYnkuaHNpZWhA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