Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751547AbeAEMiW (ORCPT + 1 other); Fri, 5 Jan 2018 07:38:22 -0500 Received: from 60-251-194-9.HINET-IP.hinet.net ([60.251.194.9]:36786 "EHLO mse2.corp.rad-ic.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751060AbeAEMiU (ORCPT ); Fri, 5 Jan 2018 07:38:20 -0500 X-Greylist: delayed 1549 seconds by postgrey-1.27 at vger.kernel.org; Fri, 05 Jan 2018 07:38:19 EST From: =?big5?B?SmVmZnJleSBMaW4gKKpMuHGzuSk=?= To: Dmitry Torokhov , "jeffrey.lin" CC: "groeck@chromium.org" , "keith.tzeng@quantatw.com" , "Katherine.Hsieh@quantatw.com" , "bleung@google.com" , =?big5?B?S1AgTGkgKKf1qfitvyk=?= , =?big5?B?QWxiZXJ0IFNoaWVoICjBwqpZ3rMp?= , =?big5?B?Q2FsdmluIFRzZW5nICAotL+w6ql2KQ==?= , "linux-kernel@vger.kernel.org" , "linux-input@vger.kernel.org" , =?big5?B?S2V2aW4gQ2hpdSAoqvSrVLrNKQ==?= , =?big5?B?SmFja3kgTGluICiqTKthqfop?= Subject: RE: [PATCH] driver: input :touchscreen :Modify Raydium Firmware update input file Thread-Topic: [PATCH] driver: input :touchscreen :Modify Raydium Firmware update input file Thread-Index: AQHThemRfSrhVm924ES5jvBNXRqDhKNlL+ew Date: Fri, 5 Jan 2018 12:12:18 +0000 Message-ID: <9BE4B49389AB2F41A64A32DFC844F1DF759C9C14@RADHCMS5.corp.rad-ic.com> References: <20171221135122.345-1-jeffrey.lin@raydium.corp-partner.google.com> <20180105055338.cogtaty5p5r5gglt@dtor-ws> In-Reply-To: <20180105055338.cogtaty5p5r5gglt@dtor-ws> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.17.7.166] Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 MIME-Version: 1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