From patchwork Wed May 17 15:29:33 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: 9731475 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 EE1F9602B4 for ; Wed, 17 May 2017 15:31:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF91828459 for ; Wed, 17 May 2017 15:31:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3C1A287C3; Wed, 17 May 2017 15:31:36 +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 7EEE228459 for ; Wed, 17 May 2017 15:31:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753985AbdEQPb3 (ORCPT ); Wed, 17 May 2017 11:31:29 -0400 Received: from mail-it0-f67.google.com ([209.85.214.67]:36762 "EHLO mail-it0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753944AbdEQPb2 (ORCPT ); Wed, 17 May 2017 11:31:28 -0400 Received: by mail-it0-f67.google.com with SMTP id z15so1881288ite.3 for ; Wed, 17 May 2017 08:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d2AH3ieHC2fWwMLlkx450s/WNrsurvpSYPMarh1iIxY=; b=RsGl7HdQlK7TyAaYrAVIij/h49zD4bV4YA/lNIFfUFskjtTgHFV0FsVrJHETLux0Bt 0b8Nkc4O6WsFg3pz82rRPVtpofH2kyYEJVMT5tG9ahHxBwcKiWEcj4ZAiAKPFTfxJU1h 9f2JJFwirmLRPjPc7mZcEzuKBXSB4Je67o2rMe3s0jW/0YAaNPU0ynvxqMMlSk/nF6zP qmLIJtr0cR8B0dq9UcdUOqf0tDLxYtuKGLhWIi8ViNSsfvLZIENffYnVoiL2NkqYfSw1 f7ep9x1Xyb1QZ8gePH7CxrZdyGUhmKoRE6wvJybIWPpglHpe2fOZyCPZ4MqNn1imx6U1 zZmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d2AH3ieHC2fWwMLlkx450s/WNrsurvpSYPMarh1iIxY=; b=IxDG/tKT/T3FJcIY2QnU4qMQppjOqOA0EdTX3ptulWj14/sehrJXNHp1NcD8WpK820 b1ZQjTfNWruqkBXgsDMTDMQNgSYZwztQXFvezhQ3h7nLW0TqXKgEzwCnDEMokwnMqExa 5b8yaI3q3cijQgtMJzRJ3tC2HkZGZt6dSXAAx74t6tv2ve3tTNhMV0sy3qwPkU93OPJg nmOItBQssUOJd11iUBBUE60JhYYB/DJNmEUfA8yEASxh/dm4rJ9KZTHC0PieQkDEN2lW flq6K77nqHR58SHRi1X7f6xrmEK4N2uavBLrSdVPUDEDWV1F+sYe3M5ailzXAUXHCwi/ ruNg== X-Gm-Message-State: AODbwcDlhM0NJzJeMy19gFWaazDLpWZpDFuNpiNe9+cH88wWf4ZpVb2k XnhL9FIQN6ovzSufnQGbow== X-Received: by 10.36.178.1 with SMTP id u1mr4909502ite.12.1495035087136; Wed, 17 May 2017 08:31:27 -0700 (PDT) Received: from mbedesk.Sonatest.net (modemcable066.15-37-24.static.videotron.ca. [24.37.15.66]) by smtp.googlemail.com with ESMTPSA id g18sm1047296iod.19.2017.05.17.08.31.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 08:31:26 -0700 (PDT) From: =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= To: Nick Dyer , Dmitry Torokhov Cc: linux-input@vger.kernel.org, jeff.dagenais@gmail.com, =?UTF-8?q?Maxime=20Roussin-B=C3=A9langer?= Subject: [PATCH v2] input: touchscreen: atmel_mxt_ts: add T100 as a readable object Date: Wed, 17 May 2017 11:29:33 -0400 Message-Id: <1495034973-30806-1-git-send-email-maxime.roussinbelanger@gmail.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 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 attribute, T100 is not displayed in the output. Signed-off-by: Maxime Roussin-BĂ©langer --- Changes in v2: - Fix commit description 'sysfs file' to 'sysfs attribute'.- 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: