From patchwork Sat Mar 10 14:26:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vittorio G (VittGam)" X-Patchwork-Id: 10281175 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 472AC601A0 for ; Tue, 13 Mar 2018 23:18:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37FC3285BD for ; Tue, 13 Mar 2018 23:18:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2CB06285C3; Tue, 13 Mar 2018 23:18:23 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 39082285BD for ; Tue, 13 Mar 2018 23:18:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932685AbeCMXSV (ORCPT ); Tue, 13 Mar 2018 19:18:21 -0400 Received: from server1.vittgam.net ([213.239.197.142]:30897 "EHLO mail.vittgam.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932240AbeCMXSU (ORCPT ); Tue, 13 Mar 2018 19:18:20 -0400 X-Greylist: delayed 342 seconds by postgrey-1.27 at vger.kernel.org; Tue, 13 Mar 2018 19:18:20 EDT X-DKIM: OpenDKIM Filter v2.4.2 mail.vittgam.net w2DNCZDN104594 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net; s=20150519; t=1520982755; bh=cjod0jezFeE4IL+Z5k7kwcZix4IYpHtyuKJRR+V6BQg=; h=From:To:Cc:Subject:Date:Message-Id; b=jXByLbDLz+0pR1uZI/U2ute+Kiq1MyocJkSwblKQ5eASiGedWpMW8liA94Ev1c5Gm sFbj0jh8Bs9UeJ4TK3FWtmdr6Twvz6cvTaskpu/pWK/QV1cXIs6fLr7Gs+o8sVTzL/ zybZZnY1T9V0CupTeOWUl60JzJpq8IC77IyL2oY8TMj6wSX1ovgeXBEWnK93ZhdMPj Is+0+E8zS3u2UPbjxNadM3gBikK4JY/9kchTfsyyL7dpXkHBEnIlPVkwkFmL5gUNSN mGXbvv8/8C0jx85MXIDmTN98e5fcMAPGvEd1x5Kc2f91X4Xs1P+xV9u1Y71RbaiQRf oLmzElAZZIByacsa0c567nPM7VXKvNh4/PJ+ujugJr7o/HdZVPhP60v4SmGLRWVNuB 2xBZDkV8YvVSk74qj0Cmq+fnXTwnkUh75E4xvWiximBPjOIUhYrQgVRjScUnM0jJ3E 9Y8viInYF3FnNLJE/gn6okBiXTcziIOmISRGF0ieFFJbanw2VR2RGJikYPmXrLsDx0 SlDZS8N7vi8vQnRn8JxjGbHAjylD2QNvy24dv7A+WIAxHRSMPz1RdUHDrnoJafcq+A pwGx/QM38E3uuhjfq7c0Ru88MGOsQWW2osDbBfedUeCzHVRuUOdGCkyKmie71TySe7 L7Zdpm4MBUhA0DI9yZbsPAmM= Received: from vl4 ([10.48.6.117]) by mail.vittgam.net with SMTP id w2DNCZDN104594; Wed, 14 Mar 2018 00:12:35 +0100 From: "Vittorio Gambaletta (VittGam)" To: , "Nick Dyer" Cc: "Salvatore Bellizzi" Subject: [PATCH] input/touchscreen: atmel_mxt_ts: Add Caroline Chromebook platform data. Date: Sat, 10 Mar 2018 15:26:14 +0100 Message-Id: <201803101426.w2AEQEwH232108@mail.vittgam.net> 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 This patch adds the correct platform data information for the Caroline Chromebook, so that the mouse button does not get stuck in pressed state after the first click. The Samus button keymap and platform data definition are the correct ones for Caroline, so they have been reused here. Signed-off-by: Vittorio Gambaletta Signed-off-by: Salvatore Bellizzi --- -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c @@ -3031,6 +3031,15 @@ .driver_data = samus_platform_data, }, { + /* Samsung Chromebook Pro */ + .ident = "Samsung Chromebook Pro", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), + DMI_MATCH(DMI_PRODUCT_NAME, "Caroline"), + }, + .driver_data = samus_platform_data, + }, + { /* Other Google Chromebooks */ .ident = "Chromebook", .matches = {