From patchwork Thu Oct 6 05:55:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 9363675 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 59A00607D3 for ; Thu, 6 Oct 2016 05:55:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DD4B28DF1 for ; Thu, 6 Oct 2016 05:55:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30C4128DF5; Thu, 6 Oct 2016 05:55:07 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 CD5FC28DF1 for ; Thu, 6 Oct 2016 05:55:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752246AbcJFFzF (ORCPT ); Thu, 6 Oct 2016 01:55:05 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36704 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752223AbcJFFzE (ORCPT ); Thu, 6 Oct 2016 01:55:04 -0400 Received: by mail-pf0-f193.google.com with SMTP id n24so557703pfb.3; Wed, 05 Oct 2016 22:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=tAE3v93wb+q1lo7g3uzwEwmLcTkaWqYxKD+EWUzv7zM=; b=vWB/D9cY7QdOAcy6VQ/Iz0BqRc5eni80lUglggRsHJh6+AyJ7FxXV5b+p06sCZCZZX fnk7Xhj69mAoUXlD5m/GMTmu4tfaN3ThkzAtW87Z5Y+o87MNswNYNilANqngqVY323tB Vo3cEpgGYX1/6wHQsPvxDU3gKIj3ZPNT9VVWVOkx/fU7ZZXiy5S8lSGwB3FbLsIlM8vl zWeFIvVn1ACG0WOsgiisyf+5DZPS15i4ohcFSoaSjaDP6gl5JrPNotdhOupgsasSI5Vi qq4C8i+mEBMA1hEGuP/nerlbqcid3Dj3dcR1RaoFyCepU7zi9W0s9XsunJ/8IGXP1PlV 7RVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=tAE3v93wb+q1lo7g3uzwEwmLcTkaWqYxKD+EWUzv7zM=; b=YPVCuZYL8UFx2qCgwnK9+HIoyCL//iCbiM9c+ZB1cXl4uCfmkvOlkF/ooWdWO0W4gG CgQUAYIrv7OghulsiJhT533pDJ0crOA69UnQugnos6Gt/UO9eIK5yhOMxidyQPho7pxa /R33gw/qtrWAusafZvWC334xLw2of4sDHthNv6hSG3CFhvYr+uU2SuD2WMx0G84M0lVk 8hyL/sV6hfd82EoSAorcQgHeklB92OpDJYoA2HdOmH54GQ/GDp60S1iFFYbMvcQeQB4T ysqVLrGp56JYzh6qwvv0W5PiK1tYAXSYB66MWDcqg+jtf9P9sWa/CvFy57a74xgCjQGc tAIA== X-Gm-Message-State: AA6/9RlMr3m62q5UycRsZTsZWkYxI9CjouuHFVpoGDBtno3wcjWZ80/XzQb5DumvEnAjDA== X-Received: by 10.98.139.209 with SMTP id e78mr15603693pfl.100.1475733303687; Wed, 05 Oct 2016 22:55:03 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1311:5577:53de:d76e:911]) by smtp.gmail.com with ESMTPSA id c64sm1811205pfa.0.2016.10.05.22.55.02 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 05 Oct 2016 22:55:02 -0700 (PDT) Date: Wed, 5 Oct 2016 22:55:00 -0700 From: Dmitry Torokhov To: linux-input@vger.kernel.org Cc: Benjamin Tissoires , Takashi Iwai , Ulrik De Bie , William Linna , linux-kernel@vger.kernel.org Subject: [PATCH] Input: elantech - add Fujitsu Lifebook E556 to force crc_enabled Message-ID: <20161006055500.GA9017@dtor-ws> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Another Lifebook machine that needs the same quirk as other similar models to make the driver working. Also let's reorder elantech_dmi_force_crc_enabled list so LIfebook enries are in alphabetical order. Reported-by: William Linna Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Reviewed-by: Benjamin Tissoires --- drivers/input/mouse/elantech.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c index 37b52f1..db7d1d6 100644 --- a/drivers/input/mouse/elantech.c +++ b/drivers/input/mouse/elantech.c @@ -1517,6 +1517,13 @@ static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = { }, }, { + /* Fujitsu LIFEBOOK E544 does not work with crc_enabled == 0 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), + DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"), + }, + }, + { /* Fujitsu LIFEBOOK E554 does not work with crc_enabled == 0 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), @@ -1524,10 +1531,10 @@ static const struct dmi_system_id elantech_dmi_force_crc_enabled[] = { }, }, { - /* Fujitsu LIFEBOOK E544 does not work with crc_enabled == 0 */ + /* Fujitsu LIFEBOOK E556 does not work with crc_enabled == 0 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "FUJITSU"), - DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E544"), + DMI_MATCH(DMI_PRODUCT_NAME, "LIFEBOOK E556"), }, }, {