From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755518Ab2C3HAv (ORCPT ); Fri, 30 Mar 2012 03:00:51 -0400 Received: from [89.21.227.130] ([89.21.227.130]:51922 "EHLO mail.epsilon.itdev.co.uk" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750943Ab2C3HAq (ORCPT ); Fri, 30 Mar 2012 03:00:46 -0400 Message-ID: <4F755A18.6040101@itdev.co.uk> Date: Fri, 30 Mar 2012 00:00:40 -0700 From: Nick Dyer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 MIME-Version: 1.0 To: Daniel Kurtz CC: Dmitry Torokhov , Joonyoung Shim , Iiro Valkonen , Henrik Rydberg , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benson Leung , Yufeng Shen , "Tiwari, Atul" , "Bowens, Alan" Subject: Re: [PATCH 19/20] Input: atmel_mxt_ts - remove mxt_make_highchg and parse T6 report References: <1331640263-18935-1-git-send-email-djkurtz@chromium.org> <1331640263-18935-20-git-send-email-djkurtz@chromium.org> <4F68A46D.9020601@itdev.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Daniel Kurtz wrote: > On Tue, Mar 20, 2012 at 11:38 PM, Nick Dyer wrote: >> mxt_make_highchg exists due to the interrupts being edge triggered. It >> forces the CHG line to go high. >> >> With this implementation, I suspect that if a new message arrives after you >> have read T44 and before you finish processing messages, then the interrupt >> handler will not ever be run. What testing have you done on this? > > Actually, for the MXT224E on which I've been testing, the CHG line > goes high after reading the first byte of the T5 message (in other > words, the first byte of the first message, no matter how many > messages T44 reports). The CHG line behaviour is configurable - you should find this documented in the data sheet. > Expect an updated version of this patchset soon. > > Thanks for all of your reviews! no problem. -- Nick Dyer Software Engineer, ITDev Ltd Hardware and Software Development Consultancy Website: http://www.itdev.co.uk