Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2556992ybm; Thu, 23 May 2019 20:07:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWLVC4hBmBWoauIPuIQmfZzq47CKPfmHa8oPq8T0wxEEE0/gjigN5nx3skcS8xkQi2ROGi X-Received: by 2002:a17:90a:6505:: with SMTP id i5mr6142561pjj.47.1558667255126; Thu, 23 May 2019 20:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558667255; cv=none; d=google.com; s=arc-20160816; b=n3qyU7U8zZk9xVCH4EPYcczEwA7kWKkqI7ohuXDOJoPUyRmdW7ZfMSAs1ixFYNg8X4 mvKh2Hs13j4uKOZOYn9QOL28cHRX9/7kbKQLKNc3nmLBInuG1mf/B78xcFFEK+Lwen8Y SRcI4kKcylfJrEqMvquDTmo5XphsCi7A9U/8RKfd2e6+9C+6qHb9vc+lT7Hz5Uu9G3V1 7MkKGVXvJF0YNDerMLGnmawSMqAkSweZEvO5mj0KOrTX4KiwIqXcOqHy3/o/wU0lrofY RfASSX2+YNiAUKEaTbo4VCM7ZfCGqBQnKrvktVzRXNhgTFsRMHj94h++P2VNqAImt+X/ pdUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=+elwtMaVccSnErT5xEbk/E+DLbn0WmsZFdqXkpqZ1Mc=; b=CzA1jN4LFb5rfWd138cJkcfjrAFVhB/R1kZ5LhzQCe2Y+OdfF5iDkFRnh+QUkn0C68 iOpXhUC5mW9d/faFWPaWocczgEPb+Scweo5bwJ8cqAA0Vz9jeatsndNy9jDXwvqHd83C WMNDzug+ADkjHAYHarfdl4GRu/tgAa/AYeMeCAx/xaiSrkXikps1DfuW8uWObPbgB3Qs HBfbDmHmhPIL8BSgoyOvCsGWv4OsbicA8FwhF9Mi9XlDWXP1GW/DVFqH+LethqSyYbJ/ ew02SqIR3s0R+d8K/Fc55p+58DduwpMcorxc2wrOqBR98p7yNLGIHFFnftVrpI+yguFB CBAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VyWnnSei; 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si2626577plf.166.2019.05.23.20.07.14; Thu, 23 May 2019 20:07:35 -0700 (PDT) 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=@nxp.com header.s=selector2 header.b=VyWnnSei; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388803AbfEXDDk (ORCPT + 99 others); Thu, 23 May 2019 23:03:40 -0400 Received: from mail-eopbgr30075.outbound.protection.outlook.com ([40.107.3.75]:59395 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387726AbfEXDDk (ORCPT ); Thu, 23 May 2019 23:03:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+elwtMaVccSnErT5xEbk/E+DLbn0WmsZFdqXkpqZ1Mc=; b=VyWnnSeitFOtUU7HbMgccFJSATk+8ABSvEtViEEJe1iTxIQEj3c8B+UzmSnB/1jv6F8WtO73OHw7cHYPoRn65B8+n3eo3tcJC1y7g3SoTxQFZcLRuH14a0PVQpVl0BURjpajSwEP/t+ByEGI+MCt2YGfpTvK9klpaVaNkW/Pjwk= Received: from VI1PR04MB3247.eurprd04.prod.outlook.com (10.170.232.160) by VI1PR04MB5872.eurprd04.prod.outlook.com (20.178.205.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Fri, 24 May 2019 03:03:37 +0000 Received: from VI1PR04MB3247.eurprd04.prod.outlook.com ([fe80::25fd:3f96:2ed5:867]) by VI1PR04MB3247.eurprd04.prod.outlook.com ([fe80::25fd:3f96:2ed5:867%4]) with mapi id 15.20.1922.018; Fri, 24 May 2019 03:03:36 +0000 From: Qiang Zhao To: "shawnguo@kernel.org" CC: "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Qiang Zhao Subject: [PATCH] i2c: layerscape: use PIO when fail to request dma channel Thread-Topic: [PATCH] i2c: layerscape: use PIO when fail to request dma channel Thread-Index: AQHVEd1HeywaNDBGDEa3Wde5CXaE+g== Date: Fri, 24 May 2019 03:03:36 +0000 Message-ID: <20190524030514.14082-1-qiang.zhao@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0002.apcprd06.prod.outlook.com (2603:1096:202:2e::14) To VI1PR04MB3247.eurprd04.prod.outlook.com (2603:10a6:802:11::32) x-mailer: git-send-email 2.17.1 authentication-results: spf=none (sender IP is ) smtp.mailfrom=qiang.zhao@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 73f7e26c-4dd5-4794-4f3e-08d6dff46a02 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VI1PR04MB5872; x-ms-traffictypediagnostic: VI1PR04MB5872: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1227; x-forefront-prvs: 0047BC5ADE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(346002)(136003)(39860400002)(376002)(189003)(199004)(186003)(36756003)(2351001)(52116002)(102836004)(2906002)(71190400001)(71200400001)(386003)(6506007)(6486002)(1076003)(53936002)(68736007)(14454004)(478600001)(66066001)(5660300002)(6512007)(316002)(99286004)(26005)(6436002)(6916009)(2501003)(476003)(2616005)(256004)(14444005)(54906003)(486006)(3846002)(66476007)(8676002)(66556008)(50226002)(1730700003)(4326008)(66946007)(6116002)(86362001)(25786009)(44832011)(64756008)(66446008)(5640700003)(7736002)(305945005)(73956011)(8936002)(81156014)(81166006);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5872;H:VI1PR04MB3247.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: N0bava5xkd4jv0CRlkWfcObRiQ2vDVcrYsFseAwN6eHI/kZr3iJGf6RYvqptyo7QeXDH7oVr1hA3LedOrDkoWFUX0W4EtXBZhGc6N5mh6xv3ZDTs7R288ij29UWAIU5L4x0ddgk2X5SJ3gMaeznsWMSVdnofeDVIeIfC2zJbcfg6Lxx1MmW/8fUTcn4VcF1AVZJe5u0mehZcHPKhWdmqaTSVUd6CXpgU/SLmz15aLAUuoTOC807tkDi5XMpGSYliH8jJ5qjd+LDahUmEgTWpzvcvLPvHJiwbPJ8cEq5zU8feKjzxOX97+0UQipAGNL7awUXFa1AXvpXGEfcj/ckd9S8bd64DtqQ2iP/ZbsXkH6Jj4unydqgpzWKlIzcQpSTRDesq6ku7PhI1Pz6NS3HaetrYbPbuBiQAY9lBgIQ93+g= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73f7e26c-4dd5-4794-4f3e-08d6dff46a02 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 May 2019 03:03:36.8691 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qiang.zhao@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5872 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V2hlbiBmYWlsIHRvIHJlcXVlc3QgRE1BIFRYL1JYIGNoYW5uZWwsIHVzZSBQSU8gaW5zdGVhZCBm b3IgbGF5ZXJzY2FwZS4NCg0KU2lnbmVkLW9mZi1ieTogWmhhbyBRaWFuZyA8cWlhbmcuemhhb0Bu eHAuY29tPg0KLS0tDQogZHJpdmVycy9pMmMvYnVzc2VzL2kyYy1pbXguYyB8IDExICsrKysrKysr KysrDQogMSBmaWxlIGNoYW5nZWQsIDExIGluc2VydGlvbnMoKykNCg0KZGlmZiAtLWdpdCBhL2Ry aXZlcnMvaTJjL2J1c3Nlcy9pMmMtaW14LmMgYi9kcml2ZXJzL2kyYy9idXNzZXMvaTJjLWlteC5j DQppbmRleCA5OGIyNzg2MTNjZjIuLjM5YTVhYjRjZjMzMiAxMDA2NDQNCi0tLSBhL2RyaXZlcnMv aTJjL2J1c3Nlcy9pMmMtaW14LmMNCisrKyBiL2RyaXZlcnMvaTJjL2J1c3Nlcy9pMmMtaW14LmMN CkBAIC0zNDcsOSArMzQ3LDEzIEBAIHN0YXRpYyBpbnQgaTJjX2lteF9kbWFfc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