From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9162C76186 for ; Thu, 18 Jul 2019 03:02:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B164F21841 for ; Thu, 18 Jul 2019 03:02:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563418974; bh=S3zB4DvXVPTe8ROWrqlgu7FLbjfqLceLVwwFDxHyByo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=qfwQd3ubTXKuS/ts58b4a3+I5/EicbhCOqh68TPC2a9pEEIDEGbc5pZLN4MsRl+CV ZxBnRqPM1Dci1HAghd3dDtvfW2kFSptJZKqjcF/j5yye91ZGHRkrGOnCY2DnC5xGJT I5FGL4Thbs+oYrkWhT1awNRHGCCvqppmTDnXZ6rg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733053AbfGRDCy (ORCPT ); Wed, 17 Jul 2019 23:02:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:33456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727577AbfGRDCx (ORCPT ); Wed, 17 Jul 2019 23:02:53 -0400 Received: from localhost (115.42.148.210.bf.2iij.net [210.148.42.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3C4962173B; Thu, 18 Jul 2019 03:02:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563418972; bh=S3zB4DvXVPTe8ROWrqlgu7FLbjfqLceLVwwFDxHyByo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yNgNL+mbTmERsJGCCaGt9NbPGwDmDUtwNHpxXEvcLSmQ+PcDJcTs1LfU8cp23Ei87 Fy4evM8tOc6FM2PIU5RF+bWyC02ZagaG/naHxsv0I5413yi6hgYxwzGt5MWvZY0GCi 9Psv+5n2V0iFgm0Qob2M+PNAdU703zd+cKKYTILs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Cole Rogers , Benjamin Tissoires , Dmitry Torokhov Subject: [PATCH 5.2 03/21] Input: synaptics - enable SMBUS on T480 thinkpad trackpad Date: Thu, 18 Jul 2019 12:01:21 +0900 Message-Id: <20190718030031.073218961@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190718030030.456918453@linuxfoundation.org> References: <20190718030030.456918453@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Cole Rogers commit abbe3acd7d72ab4633ade6bd24e8306b67e0add3 upstream. Thinkpad t480 laptops had some touchpad features disabled, resulting in the loss of pinch to activities in GNOME, on wayland, and other touch gestures being slower. This patch adds the touchpad of the t480 to the smbus_pnp_ids whitelist to enable the extra features. In my testing this does not break suspend (on fedora, with wayland, and GNOME, using the rc-6 kernel), while also fixing the feature on a T480. Signed-off-by: Cole Rogers Acked-by: Benjamin Tissoires Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman --- drivers/input/mouse/synaptics.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -173,6 +173,7 @@ static const char * const smbus_pnp_ids[ "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */ "LEN0073", /* X1 Carbon G5 (Elantech) */ "LEN0092", /* X1 Carbon 6 */ + "LEN0093", /* T480 */ "LEN0096", /* X280 */ "LEN0097", /* X280 -> ALPS trackpoint */ "LEN200f", /* T450s */