From patchwork Tue Aug 13 16:48:17 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zubair Lutfullah X-Patchwork-Id: 2843893 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 2D721BF546 for ; Tue, 13 Aug 2013 16:49:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 56B9720610 for ; Tue, 13 Aug 2013 16:49:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3AA0F2060F for ; Tue, 13 Aug 2013 16:49:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756956Ab3HMQtX (ORCPT ); Tue, 13 Aug 2013 12:49:23 -0400 Received: from mail-ea0-f178.google.com ([209.85.215.178]:35417 "EHLO mail-ea0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757286Ab3HMQs3 (ORCPT ); Tue, 13 Aug 2013 12:48:29 -0400 Received: by mail-ea0-f178.google.com with SMTP id a15so4297662eae.9 for ; Tue, 13 Aug 2013 09:48:27 -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=AADHmKqrN8WEDMS/nERdCTjbGVrA637WT0uQljdY6niTlUq+EZ9Fbm8RxuIt33e2mt VdQSocbRVrt56H3ksTozs/izQJgLSQhBwlULPjSIFfZwN337/uJrHUSuMcbvZEt8pQyT rRRMndOeIFAP9KQva8IZhLdE90/XN0HHsKL5ZD3tUTNorGfzQXepoNJG63n6p+FEbGyo GclebCpQslSAW/z1U0O63t27a3vAy/nSeGy8YJpHK5H7rHLwbzTDS7rTKRci3saKlzXA 9gOecEAPSG65/0Bt9PYbjfH9DdTxwlW2MQ7Q0a2fU7hv0jrOIRJq8kTt4uRWyNeSTxTM mEEw== X-Received: by 10.14.102.72 with SMTP id c48mr7966323eeg.52.1376412507332; Tue, 13 Aug 2013 09:48:27 -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 m54sm67615350eex.2.2013.08.13.09.48.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 09:48:26 -0700 (PDT) From: Zubair Lutfullah To: jic23@cam.ac.uk, dmitry.torokhov@gmail.com, sameo@linux.intel.com, lee.jones@linaro.org 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 17:48:17 +0100 Message-Id: <1376412499-21007-3-git-send-email-zubair.lutfullah@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376412499-21007-1-git-send-email-zubair.lutfullah@gmail.com> References: <1376412499-21007-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[] = {