From patchwork Sun Jul 18 19:06:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chris@cnpbagwell.com X-Patchwork-Id: 112613 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6IJ2rZI028715 for ; Sun, 18 Jul 2010 19:06:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757165Ab0GRTGr (ORCPT ); Sun, 18 Jul 2010 15:06:47 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:33292 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757158Ab0GRTGr (ORCPT ); Sun, 18 Jul 2010 15:06:47 -0400 Received: by gwj18 with SMTP id 18so1725260gwj.19 for ; Sun, 18 Jul 2010 12:06:45 -0700 (PDT) Received: by 10.151.131.3 with SMTP id i3mr3567207ybn.409.1279480004594; Sun, 18 Jul 2010 12:06:44 -0700 (PDT) Received: from localhost.localdomain (adsl-69-149-32-180.dsl.rcsntx.swbell.net [69.149.32.180]) by mx.google.com with ESMTPS id u41sm4648481yba.22.2010.07.18.12.06.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Jul 2010 12:06:44 -0700 (PDT) From: chris@cnpbagwell.com To: linux-input@vger.kernel.org Cc: Chris Bagwell Subject: [PATCH 2/2] input: synaptics - set min/max for finger width Date: Sun, 18 Jul 2010 14:06:07 -0500 Message-Id: <1279479967-4499-2-git-send-email-chris@cnpbagwell.com> X-Mailer: git-send-email 1.7.1.1 In-Reply-To: <1279479967-4499-1-git-send-email-chris@cnpbagwell.com> References: <1279479967-4499-1-git-send-email-chris@cnpbagwell.com> 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.3 (demeter.kernel.org [140.211.167.41]); Sun, 18 Jul 2010 19:06:48 +0000 (UTC) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index 1b49d7f..85a1e14 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -600,7 +600,7 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv) input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0); if (SYN_CAP_PALMDETECT(priv->capabilities)) - __set_bit(ABS_TOOL_WIDTH, dev->absbit); + input_set_abs_params(dev, ABS_TOOL_WIDTH, 0, 15, 0, 0); __set_bit(EV_KEY, dev->evbit); __set_bit(BTN_TOUCH, dev->keybit);