Received: by 10.213.65.16 with SMTP id m16csp182295imf; Sun, 11 Mar 2018 23:00:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELvet6RH+vv7++svenUrEO8xD4myVBAWmBzfhxBIbBH/ZBnbJnliNpgVjogBfT82mNQWhR0D X-Received: by 2002:a17:902:128c:: with SMTP id g12-v6mr3544213pla.98.1520834413681; Sun, 11 Mar 2018 23:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520834413; cv=none; d=google.com; s=arc-20160816; b=PGfJc3qv9S4R3LI1vLVAnywcb3XAI2IuahnGWsGbrttZehb47qe1qhA2obIjpHRple acFEo+GK1Xeq3GcGaqIwTKuOxSgLSILxG6rYGjRAGy8Am/7ETlTjs33eJ3HPszwKT9Mx GR7OVl2hAM8Gbz6zo/5bkbERur5GjYN31dIa2dUmqeN1GomXHwJ27enPIU98ruAF+tDY 8SCHdS2zU3m+2DXe04WoiTJsJ2wXNBGHkCuxJ63mRNuZJBzrKkXtuJVietzUj5R4D1XQ XvTEEv4rie8H+vv6B+U0Zxpmy80AN8Y48XaEQb5z1rJCtgUcjRaL7z5FkXyYocei9xYP SuFw== 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 :arc-authentication-results; bh=+hQgjHNF67uFT6tJryRh3mmWuC78Gri6D8osy4exOgg=; b=QBjIFYV+QKCsk7Be/Fs2V7PJ2WMUH5z4u1vEFB1joJpZBXYuttB+MllPafxooyaNiZ vUSohtdwQrAiQ9dZJTVcbbBZKyqNW6KefVC1uBeqm/Z/aVQ49GGuyJcoX1KTIz4wYGSj B2PcId4yQLXyHrGoRumVIq/GPyiZz+dHiP/pK4zkyM86kOtq7DaWhEANLnYwl9z7qW3G xoDXlxfimXttHHT2qlzpytfyZ1G5KITKOvvBAsWnrRIgW0VTmxDot4765u+YeonzbtL1 Pv25UHx75/4oZs+ckBOVdKV+nyudU3uELM+BdzRvRTHSnhIkxkqz8qxk0JBIjwuG2LzL f3FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=pqeOPW9O; 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 b126si5294678pfg.7.2018.03.11.22.59.59; Sun, 11 Mar 2018 23:00:13 -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=selector1 header.b=pqeOPW9O; 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 S1751881AbeCLF7C (ORCPT + 99 others); Mon, 12 Mar 2018 01:59:02 -0400 Received: from mail-ve1eur01on0069.outbound.protection.outlook.com ([104.47.1.69]:20352 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751324AbeCLF7A (ORCPT ); Mon, 12 Mar 2018 01:59:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+hQgjHNF67uFT6tJryRh3mmWuC78Gri6D8osy4exOgg=; b=pqeOPW9Orl25GkPxZHkMCE0Ys2nUtPV64pfCl7bRsmeParbPnVsbFUIF9ZBosULOzq9E+PyjvTNHYGgDy1o9aJfo2JINn73hAbQ/v86bAS2CH2UtPaKFcHdXANk78DFYKEBVElpbZanpV2DVCsbst2yS+S/xnqutoGS8zmP3fkU= Received: from VI1PR0402MB3917.eurprd04.prod.outlook.com (52.134.17.30) by VI1PR0402MB2896.eurprd04.prod.outlook.com (10.175.24.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.567.14; Mon, 12 Mar 2018 05:58:56 +0000 Received: from VI1PR0402MB3917.eurprd04.prod.outlook.com ([fe80::70cd:1c30:40b2:1bae]) by VI1PR0402MB3917.eurprd04.prod.outlook.com ([fe80::70cd:1c30:40b2:1bae%13]) with mapi id 15.20.0548.021; Mon, 12 Mar 2018 05:58:56 +0000 From: Jun Li To: =?utf-8?B?5p2O5pu45biG?= CC: Greg Kroah-Hartman , "heikki.krogerus@linux.intel.com" , "linux@roeck-us.net" , "greg@kroah.com" , "shufan_lee@richtek.com" , "cy_huang@richtek.com" , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" Subject: RE: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow Thread-Topic: [PATCH v7] staging: typec: handle vendor defined part and modify drp toggling flow Thread-Index: AQHTtO2TvuhbiKnCtkaCXDhq065ky6PL/wvQgAAbPQCAAAZVIA== Date: Mon, 12 Mar 2018 05:58:56 +0000 Message-ID: References: <1520301032-10109-1-git-send-email-leechu729@gmail.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jun.li@nxp.com; x-originating-ip: [92.121.68.129] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0402MB2896;7:PMx/nDTxmuhgaIL07XuqUAloK++f7wfBxTgxkWos5GdpRxPxVNeRleL1dhQsKePt+5E7SZjZDI2lCwnw74cE14tixxbZFeS5xo4N0F7bm4MZo2FkCVM3JA8cRzWQFNOGN7hP9ZbKa2QKsp9DhA51zdsfUPYuXlK0r3CPzO+k4gQu66YdIvZN5+SeXiTJXBhiI/e0a8WyNx3osiuM8QjkVV5J9XzM2QNM92QXUsimc1ib0cz/r1lE1hYFQ9447f41 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: bb040a1f-6641-4954-55ad-08d587de57af x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0402MB2896; x-ms-traffictypediagnostic: VI1PR0402MB2896: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(185117386973197)(85827821059158)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231220)(944501244)(52105095)(10201501046)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:VI1PR0402MB2896;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0402MB2896; x-forefront-prvs: 06098A2863 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(346002)(396003)(39380400002)(366004)(377424004)(199004)(189003)(13464003)(26005)(3280700002)(25786009)(5250100002)(186003)(3660700001)(102836004)(6506007)(6436002)(54906003)(4326008)(39060400002)(14454004)(478600001)(86362001)(2950100002)(6916009)(68736007)(8936002)(53546011)(1411001)(99286004)(97736004)(5660300001)(2900100001)(81166006)(81156014)(33656002)(76176011)(316002)(106356001)(105586002)(55016002)(74316002)(9686003)(7736002)(305945005)(59450400001)(2906002)(53936002)(8676002)(6116002)(229853002)(7696005)(66066001)(6246003)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB2896;H:VI1PR0402MB3917.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:3;LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ZVqccxtN4iobwwqA1tBYj0vVbWn/EnVZOs8QpogTbOnpNt60EHoLTrzCX3giInVaSS4quXWd4ZzxF6K4puTfkK8yh3jBI6K2gGE9I2sxpZRm5Jy6dlYI8VR2pfLIjqb2cy7k0YG0vopq6KSin1oA/D3oQLkOKE90LJxaNdGH6OBDVezmT8f77fpLHuM8Eub8x03xeFaRGthwAJt6oufiI9UgCUKvECG64bTRcRMFFuQcZN1j3AjKRhnkT0j1NMa/xRTo+7EUqLCIHHZPY9WR/BXd63yJvCylWSgBoFAWj55q3/6R04CAs/WdaWLzbI9ivSMyx8lzllidve1F+0xmJQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: bb040a1f-6641-4954-55ad-08d587de57af X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2018 05:58:56.5141 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2896 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTog5p2O5pu45biGIFttYWls dG86bGVlY2h1NzI5QGdtYWlsLmNvbV0NCj4gU2VudDogMjAxOOW5tDPmnIgxMuaXpSAxMzoyMg0K PiBUbzogSnVuIExpI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