Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754019AbeAIDXR (ORCPT + 1 other); Mon, 8 Jan 2018 22:23:17 -0500 Received: from mg.richtek.com ([220.130.44.152]:54710 "EHLO mg.richtek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753793AbeAIDXO (ORCPT ); Mon, 8 Jan 2018 22:23:14 -0500 X-Greylist: delayed 604 seconds by postgrey-1.27 at vger.kernel.org; Mon, 08 Jan 2018 22:23:13 EST X-MailGates: (flag:3,DYNAMIC,RELAY,NOHOST:PASS)(compute_score:DELIVER,40 ,3) X-MailGates: (compute_score:DELIVER,40,3) From: =?utf-8?B?c2h1ZmFuX2xlZSjmnY7mm7jluIYp?= To: "heikki.krogerus@linux.intel.com" CC: "linux-kernel@vger.kernel.org" , =?utf-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= Subject: [PATCH] USB TYPEC: RT1711H Type-C Chip Driver Thread-Topic: [PATCH] USB TYPEC: RT1711H Type-C Chip Driver Thread-Index: AQHTiPTiopYmERehEUSmEYKJTcGIpw== Date: Tue, 9 Jan 2018 03:13:03 +0000 Message-ID: <1515467581323.96214@richtek.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [114.137.16.113] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: RnJvbTogU2h1RmFuIExlZSA8c2h1ZmFuX2xlZUByaWNodGVrLmNvbT4NCg0KUmljaHRlayBSVDE3 MTFIIFR5cGUtQyBjaGlwIGRyaXZlciB0aGF0IHdvcmtzIHdpdGgNClR5cGUtQyBQb3J0IENvbnRy b2xsZXIgTWFuYWdlciB0byBwcm92aWRlIFVTQiBQRCBhbmQNClVTQiBUeXBlLUMgZnVuY3Rpb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