From patchwork Wed May 17 13:39:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Maxime_Roussin-B=C3=A9langer?= X-Patchwork-Id: 9731093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0449C60363 for ; Wed, 17 May 2017 13:40:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1EC6268AE for ; Wed, 17 May 2017 13:40:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D64352879C; Wed, 17 May 2017 13:40:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76355268AE for ; Wed, 17 May 2017 13:40:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753663AbdEQNj7 (ORCPT ); Wed, 17 May 2017 09:39:59 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:34398 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753219AbdEQNj6 (ORCPT ); Wed, 17 May 2017 09:39:58 -0400 Received: by mail-io0-f194.google.com with SMTP id 12so1450092iol.1 for ; Wed, 17 May 2017 06:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=GXTHC9fcnu2iVwG+KqXOj6ewpys31sspSFtikx2aW/E=; b=rvOFnSOqoLahCf2TBe7TjuG5/JdQ5ZB0ZkBfmV3PNOs23oBzJs3nojdLUSe46jY/oa hGXYa847XSOSZjRPTB82MRgbTUaVu/eN8MSWwcR4aKIhzy0dlShBkAMf3uxEvyU4EppH bHP9Vcd8+Ab2oWhwxgMMN+KGGZN+jbhVLnKt9g+3ocDUVp9nSH/uHXyJw4nUjFFFZFcL qerd0fv3o9cfSxTK2ZW0di7UHnw0Hm6jyrdMs432dB+iEc6oSTVmK9aMonw/hEqTxMdx W0dDJC8FiYeTYX7JheHBp+T2nh1eCQHkf0hHjtOWH4UDoEFoegg7NuyEq0ysBXCX9Tj/ D32g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=GXTHC9fcnu2iVwG+KqXOj6ewpys31sspSFtikx2aW/E=; b=LuUY38cDxHGmGsjDFoobln1YRuOvzIYdxzQwtctIJZYudGqzC/uALv92fo4Yw1C28E TpyzfOcewYhFS8tRQyDiFd/B/7zdNqWnRS7mgHsS2nOFoxJrFby382nu8UNlwXeEbZE8 b4uSxJyYcydhgj4xe416xh/Te6FGOw5JIp7sN2NVTN+vDVY2GKHmK09iA5mEXHaRYbZ9 OKq2yrV0GafJ6tkEq5eYQxDiSYPiv58GTBGKxYkFALu8lu8EBDdFGvOscESdy950UlVR TtFwRc5GD3hORKKkheFKtxbbObzvdgv0FTgzcHhdystc1GMHy9bhuFeLx/ESRix/28O1 X+fg== X-Gm-Message-State: AODbwcCSVtaRDaueWf2asRsiTD1mtCpDOUbS9+WbSs5SGxYCSFe1jMuQ q8fa/ZSBxHidkQ== X-Received: by 10.107.168.36 with SMTP id r36mr3452460ioe.175.1495028398029; Wed, 17 May 2017 06:39:58 -0700 (PDT) Received: from localhost.localdomain (modemcable066.15-37-24.static.videotron.ca. [24.37.15.66]) by smtp.gmail.com with ESMTPSA id z185sm927242ioe.34.2017.05.17.06.39.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 06:39:57 -0700 (PDT) Date: Wed, 17 May 2017 09:39:55 -0400 From: Maxime =?iso-8859-1?Q?Roussin-B=E9langer?= To: Nick Dyer , Dmitry Torokhov Cc: linux-input@vger.kernel.org, jeff.dagenais@gmail.com Subject: [PATCH] input: touchscreen: atmel_mxt_ts: add T100 as a readable object Message-ID: <20170517133953.GA30691@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When using the 'object' sysfs file T100 is not displayed in the output. Signed-off-by: Maxime Roussin-BĂ©langer Signed-off-by: Jean-Francois Dagenais --- drivers/input/touchscreen/atmel_mxt_ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index e5d185f..090725e 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -350,6 +350,7 @@ static bool mxt_object_readable(unsigned int type) case MXT_TOUCH_KEYARRAY_T15: case MXT_TOUCH_PROXIMITY_T23: case MXT_TOUCH_PROXKEY_T52: + case MXT_TOUCH_MULTITOUCHSCREEN_T100: case MXT_PROCI_GRIPFACE_T20: case MXT_PROCG_NOISE_T22: case MXT_PROCI_ONETOUCH_T24: