Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758189Ab3HMQtY (ORCPT ); Tue, 13 Aug 2013 12:49:24 -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 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 33 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[] = { -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/