From patchwork Thu Feb 3 09:48:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Poddar, Sourav" X-Patchwork-Id: 528831 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p139n5qv026392 for ; Thu, 3 Feb 2011 09:49:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755945Ab1BCJsq (ORCPT ); Thu, 3 Feb 2011 04:48:46 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:45802 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755881Ab1BCJsp (ORCPT ); Thu, 3 Feb 2011 04:48:45 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p139mc7u027924 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Feb 2011 03:48:41 -0600 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p139malT011477; Thu, 3 Feb 2011 15:18:36 +0530 (IST) From: Sourav Poddar To: dmitry.torokhov@gmail.com Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, charu@ti.com, gadiyar@ti.com, linux-input@vger.kernel.org, balbi@ti.com, Sourav Poddar , Kishon Vijay Abraham I Subject: [PATCHv2 1/2] ads7846: OMAP3: Removal of warnings backtrace in bootup Date: Thu, 3 Feb 2011 15:18:34 +0530 Message-Id: <1296726514-32146-1-git-send-email-sourav.poddar@ti.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 03 Feb 2011 09:49:23 +0000 (UTC) diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 14ea54b..036f245 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c @@ -1221,6 +1221,7 @@ static int __devinit ads7846_probe(struct spi_device *spi) ts->input = input_dev; ts->vref_mv = pdata->vref_mv; ts->swap_xy = pdata->swap_xy; + ts->gpio_pendown = -1; mutex_init(&ts->lock); init_waitqueue_head(&ts->wait);