Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3532758imu; Mon, 10 Dec 2018 03:54:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/WarlEvoxTp/KL557TCktTbV5y7uuNt8q0LlK08Lv8640s00mLi/jmpBhRkXFhAmzbdUvEp X-Received: by 2002:a65:60c2:: with SMTP id r2mr10692174pgv.393.1544442882475; Mon, 10 Dec 2018 03:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544442882; cv=none; d=google.com; s=arc-20160816; b=QlDl5/iDoIEUdV7TChEIqGpqY5rAKaSPozgvkqi8S8dz0I/kt7fqrzYf9P9HuQOGu/ 99uurtSwJ+s1mxP0L/4Xin+jjPFMsn4aCle0iBGSKzLrVlcHrzwJ09waGKTqAzbBWsRR paMYPWnOUoA0rM1ZyokhRzz//q9sTx1//sClSF9H5CJ4jU0VlVy6N90rB2X5x+gbP5Wg 6H8qFf5Bdt+EAHZ8I04Hy2rcti3VnnijsXI3lniL7QQo2NltgbPkjEQVruKWJbwTSxUT iepAqzlgeNVwmxJEEudsi/z/XuOfhY4YH/V6JkbtJHToWSAuptYGQv9sMEryoJ014+9+ 959g== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=PIe1jzLNmHMHIsxGQ44CbqVo3nv9EmxjHPyadqZc5VA=; b=KDDhKOaS1fmoI4qx4Akv2836e5jZgVkoG7tKektr0KZkyu59u2sI6ymjnPJyftxpVa yOnU5eRFJpPixetuW0SLJzeWaaEKLJwiZqVUoLB8b0RaPDZvQBearwaCV4t4UneB/pVR BfWlOjnzR+MO7L1zxH4FYl/1txKCB/WMVM39AgW/6nEhNGo8bol4hKh9ae+4vCSf3tv8 /3GTWGsHLaMVjQSbOX/qx7xdw8b8Y+40MANqSHpE3wBCWmI2Qoez6lCtT3HE4caTO6+w bLfTiaj4Jqn9c2X/BJBYVrmWP2m3t7ZzrvwPV4u4RV/wh7iQcHYvR2cWt3p0nFxC297d k9RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b=ebeuRIJ8; 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=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b124si10393616pfg.47.2018.12.10.03.54.27; Mon, 10 Dec 2018 03:54:42 -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=@dialogsemiconductor.onmicrosoft.com header.s=selector1-diasemi-com header.b=ebeuRIJ8; 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=fail (p=NONE sp=NONE dis=NONE) header.from=diasemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727527AbeLJLgT (ORCPT + 99 others); Mon, 10 Dec 2018 06:36:19 -0500 Received: from mail1.bemta25.messagelabs.com ([195.245.230.67]:13954 "EHLO mail1.bemta25.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726146AbeLJLgT (ORCPT ); Mon, 10 Dec 2018 06:36:19 -0500 Received: from [46.226.52.194] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-b.eu-west-1.aws.symcld.net id 2B/04-12360-CAF4E0C5; Mon, 10 Dec 2018 11:36:12 +0000 X-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GCncRD/qXVmzb OPX33zb2zVQKNobdpW1zWbsR6bk7u+O9y4/wVdYCtc6Xg54j1/6aIX0JQ6fCG+M0XmzzZTsEq 0LSb8svgIXlR8X+QMAAA== X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-27.tower-282.messagelabs.com!1544441772!464809!1 X-Originating-IP: [104.47.4.59] X-SYMC-ESS-Client-Auth: mailfrom-relay-check=pass X-StarScan-Received: X-StarScan-Version: 9.14.24; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8381 invoked from network); 10 Dec 2018 11:36:12 -0000 Received: from mail-am5eur02lp2059.outbound.protection.outlook.com (HELO EUR02-AM5-obe.outbound.protection.outlook.com) (104.47.4.59) by server-27.tower-282.messagelabs.com with AES256-GCM-SHA384 encrypted SMTP; 10 Dec 2018 11:36:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dialogsemiconductor.onmicrosoft.com; s=selector1-diasemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PIe1jzLNmHMHIsxGQ44CbqVo3nv9EmxjHPyadqZc5VA=; b=ebeuRIJ8foDOmA+g0XuyowHjWZwKnnGkztm5+ClsL4NPu/dpPdiZ8mA0c+njaFk66gcHjT6nCdFBNdcekiC3KxxfRNcidEX6/Fcp/Bgeu4Ki0633A7FVsME5kFJFy57jwTfQ4iPEksO4zR0ceWABGChxLjeMXQnU9jvGBF2cFRk= Received: from AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM (10.169.154.17) by AM5PR1001MB0995.EURPRD10.PROD.OUTLOOK.COM (10.169.154.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.19; Mon, 10 Dec 2018 11:36:09 +0000 Received: from AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM ([fe80::915f:2c34:17a1:da64]) by AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM ([fe80::915f:2c34:17a1:da64%8]) with mapi id 15.20.1404.023; Mon, 10 Dec 2018 11:36:09 +0000 From: Adam Thomson To: Adam Thomson , Kyle Tso , "linux@roeck-us.net" , "heikki.krogerus@linux.intel.com" , "gregkh@linuxfoundation.org" CC: "badhri@google.com" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection Thread-Topic: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection Thread-Index: AQHUjRA9iR+V8w1vUkO6AmQvwyOQdaV3soBQgAAnBDA= Date: Mon, 10 Dec 2018 11:36:09 +0000 Message-ID: References: <20181206030227.9507-1-kyletso@google.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.240.73.196] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5PR1001MB0995;6:5gkgZ9NV0k/lAA7VT0UEkQvEjOfNT/aZVPH/WNfcuCoLcRqGAYZn95dcQMOfIxhU7+3+SQG05I3yawoup8fkvSklyvj33NQqMeBSpZnJRtXofzpAgPUwjrkhNlRf8wSH5xsJzHbkIJvF+ni8IePLsUOT9Hdbsl7god2xaB0P9lieYOL2bZmooaM7CYee11l6cgPPC0fbVRXnOPak5jqHIO8YyTRhvLK43AaWvq1i380dMGJRh2NdQ3VMMiCGjziTqPm47bp7wOb3DqaM9spyv0Krspsql5+RkAIQMmNGyz3+xHe7hS+q/ziDRezabPg1QCD5vh8F4DgUqITanF87DQfY+mj4zf+UafFMcjEidmJR+7cYXgNL0P0MNrwlRjseyBhmSGIq3NqacHRyDqW4NAk2UcweZ3P12oHdtHoQsgPwMFjZXmTShz+AN3d+Srg5nFl2eXw8xsf/jokEqMCEwA==;5:saj/xSzdN112v7UtNdOS8Fi0FqVPs2WFLm8IAfLUn6xOhguZYqtzN9GdX0rAMkUytb72FZ8p7cxNRKXOmBW3K9N+GRvtIyaBnJzmTGge6S3xSSBlGweHrOZVYy+i3hwI8vxuYp//Js8BBOZULLG6zKdIpFGBxw9pk/y6f6JCr84=;7:SU1AwAiCIsEbEryuZJ4slrGkRq9YGkBnwuXF/3Xt7Wp6vU9RuCe2UyDlO+x0Zj1z8ABDKZCqyfUrGSMJbYtogVgudKIJT3T/EdT1bl3O436jVDaUyWJ3Aw6BA5NUuvChWh0OVv0AvDETHlbkhFbtKg== x-ms-office365-filtering-correlation-id: 62bbdc99-b8f4-467c-be4e-08d65e93ae59 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:AM5PR1001MB0995; x-ms-traffictypediagnostic: AM5PR1001MB0995: x-ms-exchange-sharedmailbox-routingagent-processed: True x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230017)(999002)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231472)(944501520)(52105112)(93006095)(93001095)(3002001)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM5PR1001MB0995;BCL:0;PCL:0;RULEID:;SRVR:AM5PR1001MB0995; x-forefront-prvs: 08828D20BC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(136003)(366004)(396003)(39850400004)(51444003)(189003)(199004)(476003)(3846002)(6246003)(478600001)(2940100002)(8936002)(7696005)(186003)(55016002)(486006)(11346002)(9686003)(446003)(4326008)(6116002)(81156014)(53936002)(26005)(66066001)(229853002)(97736004)(54906003)(81166006)(8676002)(68736007)(74316002)(110136005)(99286004)(6436002)(5660300001)(33656002)(106356001)(71190400001)(53546011)(93156006)(316002)(71200400001)(76176011)(217873002)(72206003)(2501003)(2201001)(14444005)(6506007)(256004)(25786009)(102836004)(305945005)(7736002)(2906002)(14454004)(86362001)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM5PR1001MB0995;H:AM5PR1001MB0994.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:0; received-spf: None (protection.outlook.com: diasemi.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: si8ZftJP/OrsEvPOudh2hjwQm3mBbCnPSLZDGrXNPO1fqHAqIEs0Btbn9gIotanFJeJawyznfgV2hnyHczFP0cfEfsDmpxa/OOBioHiUvAmh1XE11N5dQu39W3cvhv3ADovyDyyuXF3ASa/2/xWBA0CTej6of3KWfGszbyK7FgIBffYQCyXsKYMYL5MUN5obukoKTRRpjdWCghAVGvF1O8Bh9F9k43DevMgt1SuflA/nbCLrXQCHz7+ljByj82vdYpOC7HkdjJIl5aVvIdCg0HIVRNoWrgj2xlrAT+xo9sGoNoNwTsJkk7xwxIp+VYrj94YbsnjoH9GRFWJx8SbjE95h1q7fD1+mFsahG5tGOmo= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: diasemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62bbdc99-b8f4-467c-be4e-08d65e93ae59 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2018 11:36:09.6730 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 511e3c0e-ee96-486e-a2ec-e272ffa37b7c X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR1001MB0995 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTAgRGVjZW1iZXIgMjAxOCAwOTowMSwgQWRhbSBUaG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