Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3499615imm; Sun, 16 Sep 2018 20:30:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbynqXMS50DU62FpuCUyf+P112DqFGHwwZ2SVWVbkZAIOP1CDgr3MUvsP5azSQzKHR6nfxB X-Received: by 2002:a63:1021:: with SMTP id f33-v6mr21396699pgl.72.1537155003042; Sun, 16 Sep 2018 20:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537155003; cv=none; d=google.com; s=arc-20160816; b=eHToi805McMQsMDfbV09Jltf8pgXQQ0sD4sG41AYMQBd1IgmyxxSgKuLTXApejlY8w EDPMCxVkQ57+xqH1LL+NVD2Y/hN5Op928jL/dTuTrfe7aCfAA1oJWOj3RDZW9ajVYl22 JBkFzChzNKBCCteZwWBAUVjuzMKR38VO7NbryqJn35+MRtwtRpjXr92BMaa8RjcS1p2I 6AcrQS66z7zn1zOY4oSLptVzBPhrWmyRM2iKcZghWMTGaEDU5mAiRN7o9Wt1889QBPGf 99YkZPTrtlpKwDIxIhL1yPtewGGxHCVO1SrH+SchfZ1uvXKsA+JKeGhu8qwRMGv93UiS Py3w== 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-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=5oNrN8ha50zipdOMRiUh1jSFOtsfUqzTRHsTTPK4jz4=; b=jaymWh/QcEBiz7L2YcUCvtVFqDlcgWPgEbMKXJue3oitApix1D1s+zv5c9V0s0vC3b ux0Zb4WzYRXoAdbioFE2H32zCwLH/U9BGBRXiSzB079o6DRJkdMtiUrG2Fh1Rx8AK3Pf Nk0fLMiPUJKkrGGrw2PeX34pNuaAV27czObdKpOHz3ik9kHXajfUA0xgJxUV5fQZYm3b Qbt32wtngwIp8kWOU0O6DCsu7cgAPtWfI7XXjVJnyF/vAlvtwkA2I0U2IiIhrtWPNBpM itGevLCM6Z+U0vD5S2Mlb/nkSFabjl1WSVVZHPfwuVgOzoKMFtmDhsJzhBemGgJQIoWx TOkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=LmPMd3n+; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j13-v6si14363662pfj.230.2018.09.16.20.29.48; Sun, 16 Sep 2018 20:30:03 -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=@microsoft.com header.s=selector1 header.b=LmPMd3n+; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729613AbeIQI2G (ORCPT + 99 others); Mon, 17 Sep 2018 04:28:06 -0400 Received: from mail-by2nam03on0117.outbound.protection.outlook.com ([104.47.42.117]:22121 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728680AbeIQI2F (ORCPT ); Mon, 17 Sep 2018 04:28:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5oNrN8ha50zipdOMRiUh1jSFOtsfUqzTRHsTTPK4jz4=; b=LmPMd3n+xI1rLAYpz5AjFlVnD9tM0o5OhH+oNGYSOQMeLMB9OcmtUkMCo/piE3DcaFk56QgBjSBnjzaklmwSQZziv0XYAl19wV8jLHaZ2Ge5RRy/fvPDaP330lhK7Lndbr3lV6rCeUQ5+rFWQxHWlTfkY05UnHPGf+crLOhFMJA= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0168.namprd21.prod.outlook.com (10.173.192.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.12; Mon, 17 Sep 2018 03:02:45 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1185.003; Mon, 17 Sep 2018 03:02:45 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: =?utf-8?B?SmFuIEt1bmRyw6F0?= , Mark Brown , Sasha Levin Subject: [PATCH AUTOSEL 4.18 112/136] spi: orion: fix CS GPIO handling again Thread-Topic: [PATCH AUTOSEL 4.18 112/136] spi: orion: fix CS GPIO handling again Thread-Index: AQHUTjK3rm/GKJMngkGlG6ho80/skg== Date: Mon, 17 Sep 2018 03:01:22 +0000 Message-ID: <20180917030006.245495-112-alexander.levin@microsoft.com> References: <20180917030006.245495-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030006.245495-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR21MB0168;6:2p10aG7eeZOfl0TcTgSGIk+6EyM9+GGtNDXshHqMbwDHbN8BtOUw69b0nYlGuq7nAyLkqQeNk+2+y897r7/hLD2h4eSoa+ykpUf1VTS9y8WpiM4kblR6+kxUkD2hUiu8IZapfNSuocPxcgVnAw88c6ZhLzu+3qFlBFt6yXc8NudL6i8THbTvPTj+EPWnpUOV8AVz/nHBF91eeRyUyb0XueRu7EgoUZdvWlHKMGsF1EPPau/6eYDLEoJ1SWcLImFcICI/zE0Br5vMroyBZr4YdWdXMi4wN8rphV/LEEntwRTeBYFyYAXCH6Jbs29YO1ERS5TPIZeZ7CgGlSfabE/5sjQab3XaJa8/kWWqX+xIfAbbwg2Y/A8RByOnk+u5jFbH9e2DZFn/rTPcQVrtY83UcAkQWuol76DdZgwhBEHsy7wB/RzJ1eMq8nP2yeXjMnm4coOhcNp4tjfF2WOALMRziQ==;5:oJNzsyyJ1N+loXqCr0r783eFjPodXMtjUwf3jJmb1K7kQnY6vSmd80+OCpP89XMhUFrUE68Dv8pCqRVg4SU+Bs1U+qri8axxOf/KPnnHg9CNvN3SVdu7iw1uQb0Cukrp5KgCtR6j2B4HDytipZIY7daQUoiyc5aOUToOKnAuGPc=;7:ttAguy7Mi0adbPDg+LUO1I5HGcrALDvUKPbfQiQAIG9J2ngEFVHFml/Ons9DNMuorkT5dpqE6zfoPL5N3XjwVRbJoxSDDQ71OXnrC5QeEuVZEA39G4jHgb5ai6CoRC3faYpsql1A9U0bF5W9TdignUkQbFyMGBi8rDec6dt0Rt0yfLELCA+xB9e9Nd1QYskf+viy+/v3+vizHru+j63vRjtwPM2CUdTdDjhrdo8K5Dkoz9OQAA96cFzffaTSv3pc x-ms-office365-filtering-correlation-id: 39bd1883-edfe-4e2e-b06f-08d61c4a0afe x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:CY4PR21MB0168; x-ms-traffictypediagnostic: CY4PR21MB0168: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0168;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0168; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(396003)(366004)(39860400002)(346002)(136003)(199004)(189003)(11346002)(4326008)(105586002)(106356001)(486006)(446003)(6436002)(2616005)(22452003)(107886003)(10090500001)(25786009)(476003)(14454004)(110136005)(54906003)(316002)(2906002)(76176011)(99286004)(36756003)(186003)(26005)(6346003)(5660300001)(7736002)(305945005)(10290500003)(8676002)(81156014)(81166006)(6486002)(68736007)(6666003)(102836004)(6116002)(3846002)(1076002)(53936002)(217873002)(72206003)(97736004)(6506007)(8936002)(86362001)(256004)(5024004)(6512007)(2501003)(5250100002)(2900100001)(14444005)(478600001)(66066001)(86612001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0168;H:CY4PR21MB0776.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: S0HwVZUnNNABoni9zooL5UtH3VIJWMW5G0geT/9LX/eKbVgy6g8iYzPoL3piPVc/TgAm53AINbLZDYBQ97k3Yq7H/Kwee1mlW+lOasRdABWPgQBAqlUOqs4vPb9HPX7a5p7FBsqHTjPDIvLDIKBMWJCQfoSfAMgthdjCGR953ht7hKOqzkoz0mxIfSN8pg9cDE2uqyg5MZgC732X3TgsMxVbsFp+IlTHp1JpjEbmJDc6WvcAwtgYexCpRHc7RkMd1XuG11uk1eQwsk2QlKoOU2NUE/HbAFnrQlX+YyvfVAN8jJM9PZXNT+OaUz7IBJ6y3GybtL4b6XddqB9V8irG0SLR+S9dUExc42cOPTdnB5w= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <3C58133FA2D3E740A3DB0F12C187D3CF@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39bd1883-edfe-4e2e-b06f-08d61c4a0afe X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:01:22.7291 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSmFuIEt1bmRyw6F0IDxqYW4ua3VuZHJhdEBjZXNuZXQuY3o+DQoNClsgVXBzdHJlYW0g Y29tbWl0IGZiOWFjZjVmMWYyMWYxZGUxOTM1MjNmZjc4MGJkYTM3NWI0YzJlMjEgXQ0KDQpUaGUg Y29kZSBkaWQgbm90IGRlLWFzc2VydCBhbnkgQ1MgR1BJT3MgYmVmb3JlIHByb2Jpbmcgc2xhdmVz LiBUaGlzDQptZWFucyB0aGF0IHNldmVyYWwgQ1Mgc2lnbmFscyBjb3VsZCBiZSBhY3RpdmUgYXQg b25jZSwgZ2FyYmxpbmcgdGhlDQpjb21tdW5pY2F0aW9uLiBXaGV0aGVyIHRoaXMgd2FzIGFjdHVh bGx5IGEgcHJvYmxlbSBkZXBlbmRlZCBvbiB0aGUgdHlwZQ0Kb2YgdGhlIFNQSSBkZXZpY2UgYXR0 YWNoZWQgKHNvIG15ICJz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