From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752184Ab1HRFcn (ORCPT ); Thu, 18 Aug 2011 01:32:43 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:60038 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752163Ab1HRFcm (ORCPT ); Thu, 18 Aug 2011 01:32:42 -0400 Message-ID: <4E4CA3A9.2010900@cn.fujitsu.com> Date: Thu, 18 Aug 2011 13:31:21 +0800 From: Wanlong Gao Reply-To: gaowanlong@cn.fujitsu.com Organization: FNST User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110322 Red Hat/3.1.9-3.el6_0 Thunderbird/3.1.9 MIME-Version: 1.0 To: JJ Ding CC: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Seth Forshee , Dmitry Torokhov , Aaron Huang , Tom Lin , Eric Piel , Daniel Kurtz , Chase Douglas , Henrik Rydberg , Alessandro Rubini Subject: Re: [PATCH 6/6] Input: elantech - add v3 hardware support References: <1313632629-23603-1-git-send-email-jj_ding@emc.com.tw> <1313632629-23603-7-git-send-email-jj_ding@emc.com.tw> <4E4C80A0.8090708@cn.fujitsu.com> <87d3g347ey.fsf@emc.com.tw> In-Reply-To: <87d3g347ey.fsf@emc.com.tw> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2011-08-18 13:31:08, Serialize by Router on mailserver/fnst(Release 8.5.1FP4|July 25, 2010) at 2011-08-18 13:31:08, Serialize complete at 2011-08-18 13:31:08 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/18/2011 01:26 PM, JJ Ding wrote: > Hi Wanlong Gao, > > On Thu, 18 Aug 2011 11:01:52 +0800, Wanlong Gao wrote: >> On 08/18/2011 09:57 AM, JJ Ding wrote: >>> v3 hardware's packet format is almost identical to v2 (one/three finger touch), >>> except when sensing two finger touch, the hardware sends 12 bytes of data. >>> >>> Signed-off-by: JJ Ding >>> --- >>> Documentation/input/elantech.txt | 104 ++++++++++++++++-- >>> drivers/input/mouse/elantech.c | 218 ++++++++++++++++++++++++++++++++++--- >>> drivers/input/mouse/elantech.h | 11 ++ >>> 3 files changed, 303 insertions(+), 30 deletions(-) >>> >>> +static int determine_packet_v3(struct psmouse *psmouse) >> elantech_check_parity_v1 >> packet_simple_check_v2 >> determine_packet_v3 >> >> Why not consistent them? > OK, how do these names sound to you? > > elantech_check_parity_v1 > elantech_packet_check_v2 > elantech_packet_check_v3 > > Thanks, > jj Yeah, sounds perfectly. Thanks -Wanlong Gao