Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4296028rwj; Tue, 20 Dec 2022 08:20:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXvigXBdOafuxtH53M+Lcnr+C9D/eFrYgw6wp6Cipsfd9RSDalCiCXYsGF7hSCvKBfeprbCN X-Received: by 2002:a05:6402:40c5:b0:47c:30aa:ae0e with SMTP id z5-20020a05640240c500b0047c30aaae0emr4159306edb.11.1671553246324; Tue, 20 Dec 2022 08:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671553246; cv=none; d=google.com; s=arc-20160816; b=IO0TLwmi6U9W4wFe6DcTFqaYZ1Vt2UTQ29lmP7QxrA5xVMgGBndFVZdt8tv3daC5r0 xzulKaIHHVk6SyBosmz5PaCqNHHxI13dTqngNbZ7SVtmlJzOdKzwdXFOqgVG1EmdH5A1 SccpuoSHvgWV7uyPwIswGb0PGHHzg0MacOkXJVGLcMEBXpKFsdyhqpsshtzEq0wMkwa+ 64ayXB+yDcD+SKXr6YsyYZ310bttkwwKuKii8NhFJmdHRSOkOOmUiyFJ7jja0sRpi4u/ ngPczt9QZmyaCd1L76L3eHpP4jmx1KQaAUdKX5KA7a0edBRvI6ebWYHF2E0fuNKHuZQf 0APw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=X8GjquCRGfhJU6Me+V5Qi1ueNJiYVKG4RBVOTWM8umo=; b=R928PusR+peGvsyg7NPDEMRAzrJOBkE6T068gth4dNdM75ctxvRLzC1+o80NdFkRrj CxyoM/xVSLxDT+ifgqGmM7+EDGU1HHsL6gdbipupMZYb912HbY7LktGRvIH9x7xZbZO8 meQ4NbZsvvP8dkBWLYrrM0W2zt642l8vh/+3AYILdYUTFem5twUs2jvCFra/ChX+cYh7 T8qUpj74Yj236IUUGe9bnN6Bu5cgnAZB+noZXuScVm+vWUAXm6EOIfuQDwJ4evqBYwR1 gkbpyrWIltJ2bBHjDPoEc9n0X6OluBAaRL3OWJ6uY43tCVGXTTyu1hlPPuM4SFOXynZR 8O6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020a05640226d000b0045d189ac612si2751444edd.402.2022.12.20.08.20.29; Tue, 20 Dec 2022 08:20:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233865AbiLTPoe convert rfc822-to-8bit (ORCPT + 69 others); Tue, 20 Dec 2022 10:44:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233912AbiLTPoQ (ORCPT ); Tue, 20 Dec 2022 10:44:16 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2288917E35; Tue, 20 Dec 2022 07:44:12 -0800 (PST) Received: (Authenticated sender: hadess@hadess.net) by mail.gandi.net (Postfix) with ESMTPSA id 1AE2040003; Tue, 20 Dec 2022 15:44:09 +0000 (UTC) Message-ID: Subject: Re: [PATCH 1/3] Revert "HID: logitech-hidpp: add a module parameter to keep firmware gestures" From: Bastien Nocera To: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Jiri Kosina , Benjamin Tissoires , "Peter F . Patel-Schneider" , Filipe =?ISO-8859-1?Q?La=EDns?= , Nestor Lopez Casado Date: Tue, 20 Dec 2022 16:44:09 +0100 In-Reply-To: <20221220092207.428640-1-hadess@hadess.net> References: <20221220092207.428640-1-hadess@hadess.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.46.2 (3.46.2-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-12-20 at 10:22 +0100, Bastien Nocera wrote: > Now that we're in 2022, and the majority of desktop environments can > and > should support touchpad gestures through libinput, remove the legacy > module parameter that made it possible to use gestures implemented in > firmware. > > This will eventually allow simplifying the driver's initialisation > code. > > This reverts commit 9188dbaed68a4b23dc96eba165265c08caa7dc2a. Forgot the signed-off-by, resent as v2. > --- >  drivers/hid/hid-logitech-hidpp.c | 10 ---------- >  1 file changed, 10 deletions(-) > > diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid- > logitech-hidpp.c > index 08ad19097e9e..7f9187201913 100644 > --- a/drivers/hid/hid-logitech-hidpp.c > +++ b/drivers/hid/hid-logitech-hidpp.c > @@ -32,11 +32,6 @@ MODULE_LICENSE("GPL"); >  MODULE_AUTHOR("Benjamin Tissoires "); >  MODULE_AUTHOR("Nestor Lopez Casado "); >   > -static bool disable_raw_mode; > -module_param(disable_raw_mode, bool, 0644); > -MODULE_PARM_DESC(disable_raw_mode, > -       "Disable Raw mode reporting for touchpads and keep firmware > gestures."); > - >  static bool disable_tap_to_click; >  module_param(disable_tap_to_click, bool, 0644); >  MODULE_PARM_DESC(disable_tap_to_click, > @@ -4355,11 +4350,6 @@ static int hidpp_probe(struct hid_device > *hdev, const struct hid_device_id *id) >             hidpp_application_equals(hdev, HID_GD_KEYBOARD)) >                 hidpp->quirks |= > HIDPP_QUIRK_HIDPP_CONSUMER_VENDOR_KEYS; >   > -       if (disable_raw_mode) { > -               hidpp->quirks &= ~HIDPP_QUIRK_CLASS_WTP; > -               hidpp->quirks &= ~HIDPP_QUIRK_NO_HIDINPUT; > -       } > - >         if (hidpp->quirks & HIDPP_QUIRK_CLASS_WTP) { >                 ret = wtp_allocate(hdev, id); >                 if (ret)