From patchwork Tue Aug 13 20:05:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zubair Lutfullah X-Patchwork-Id: 2844008 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 43994BF546 for ; Tue, 13 Aug 2013 20:05:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A34C20131 for ; Tue, 13 Aug 2013 20:05:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 76F6720117 for ; Tue, 13 Aug 2013 20:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759087Ab3HMUFO (ORCPT ); Tue, 13 Aug 2013 16:05:14 -0400 Received: from mail-ee0-f53.google.com ([74.125.83.53]:62711 "EHLO mail-ee0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758944Ab3HMUFM (ORCPT ); Tue, 13 Aug 2013 16:05:12 -0400 Received: by mail-ee0-f53.google.com with SMTP id b15so4467874eek.40 for ; Tue, 13 Aug 2013 13:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Dgk2vHR+UMtClI0uqCVVntXdurErn+l1rZQNhZBSfyU=; b=xRmo42CHlhY4M2hCLiIEVQJqneLVusqrBAuaYuOlA6GJWTWVp6uuYXuy0n7iWm6x0u fXXl24NlaMpIhkt/LjSiZL0ZktWFLqNS+y7O8+jjpRgJMzGwC8Pu3vVdg41Fkn/evQCq j9m+IlhMoibnMo1NE9ExrznlfT2Fd1I/sGVkRNfK1u17BhfbNPRPALfTzxT56+SBbyO5 lrQRtkBpxvSBD9l1JsOAPH/Z+ld0dKH57PHffeo9EIHw5om7yIV9DV4MRPErMXwUx+0f cJsN2AKI6bhWBNKs3FxAdU+JcjdgeMxSPHcIhmQNPjN4IEtxZwcYGztnOIEuSCXsaavR Ybtg== X-Received: by 10.14.105.71 with SMTP id j47mr133704eeg.103.1376424310675; Tue, 13 Aug 2013 13:05:10 -0700 (PDT) Received: from localhost.localdomain (cpc3-seac14-0-0-cust157.7-2.cable.virginmedia.com. [81.97.204.158]) by mx.google.com with ESMTPSA id bq1sm68985420eeb.9.2013.08.13.13.05.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 13:05:09 -0700 (PDT) From: Zubair Lutfullah To: jic23@cam.ac.uk, dmitry.torokhov@gmail.com Cc: linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, bigeasy@linutronix.de, gregkh@linuxfoundation.org, Russ.Dill@ti.com Subject: [PATCH 2/4] input: ti_am335x_tsc: Increase sequencer delay time Date: Tue, 13 Aug 2013 21:05:01 +0100 Message-Id: <1376424303-22740-3-git-send-email-zubair.lutfullah@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376424303-22740-1-git-send-email-zubair.lutfullah@gmail.com> References: <1376424303-22740-1-git-send-email-zubair.lutfullah@gmail.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Before checking PEN UP event, IRQ delays for this amount of time to let FSM stabilize. Previously, with only the TSC driver in IRQ mode, this delay was sufficient. The delay is increased slightly to accomodate if the ADC is also being used simultaneously in continuous mode. Signed-off-by: Zubair Lutfullah --- drivers/input/touchscreen/ti_am335x_tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index e165fcb..766bc7e 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c @@ -31,7 +31,7 @@ #include #define ADCFSM_STEPID 0x10 -#define SEQ_SETTLE 275 +#define SEQ_SETTLE 350 #define MAX_12BIT ((1 << 12) - 1) static const int config_pins[] = {