Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3918831ybt; Sun, 5 Jul 2020 10:35:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPF1XzGh6wUeRuT/+siDyNPl8Ei8SRbW/kdBx88SUVXV6D0l+ij/odV+CB6qgHt/uX69NX X-Received: by 2002:a17:906:538e:: with SMTP id g14mr39999401ejo.300.1593970542775; Sun, 05 Jul 2020 10:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593970542; cv=none; d=google.com; s=arc-20160816; b=Ef8fMHE2lZlHTYUN5dKLKsqcWwrXP8nRrwLRRA5RcxhiEmTrfL5iLwCRRX88NtArcY EEIK4ydNJaXoye1+vL4rAHK5rkIOrkvtR53MjI73J4g7DiDh3YCyg5dv6CR++/rjXSAE ubprabYd/5tYBk25vE+3tx3bczo4Sg47P4ZTQiuvmo44RFmLNyJ06ZFhH00kuvbmOP8w 6LMY9zxZytnkeKCiTPC/tHEpH2yA4dXLT0ck0L5t+nvPszUZD2pGzmYFHc09B7Nnmbli k+stY0rEUWbPay2Jqb9whY5GUR8cWXGehFhRW28U2vlZ6ZpJa8aikpkx4OehIKppLn3p tWLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NCfpd+7xiivqyAdOYBobbPTN/TZ5ZJ4p44eNNvwtKtg=; b=PZ3xUi3UfKYicViP7m2sSi61GJqCPbjFqGHxKBVQJvmg5cwqCstiBJ7IwUPXHHUeXu pm8omCTFtuo3W21WsduSZTpP1JnNZeye8ZGE2MxhVocsRufOc3DisLDFf62LkRZy5ksB JhdJtcGNBWkXb0ClEU16PMaI+sAbGVAcyBM3vwCD8DIYH4RhbdpHCLg9w57916ncy4fr ihmOL2bUcb1t754MrMZYKegYw9SODaQ/Oa018uz05awbAAUk4VOoURQooMdlfQXov9Cv a08QvQS3RTb/cbTMn+pbpZ5CP9Mzf68Vty0JfbnPE72c1/0IsONI+BpkbfVLKJem3RN4 q1pQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm7si12179161edb.43.2020.07.05.10.35.20; Sun, 05 Jul 2020 10:35:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727888AbgGERfL (ORCPT + 99 others); Sun, 5 Jul 2020 13:35:11 -0400 Received: from vps-vb.mhejs.net ([37.28.154.113]:53130 "EHLO vps-vb.mhejs.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727874AbgGERfJ (ORCPT ); Sun, 5 Jul 2020 13:35:09 -0400 Received: from MUA by vps-vb.mhejs.net with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.93.0.4) (envelope-from ) id 1js8Xf-0001OF-CT; Sun, 05 Jul 2020 19:35:03 +0200 From: "Maciej S. Szmigiero" To: Jiri Kosina , Benjamin Tissoires Cc: Harry Cutts , Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: logitech-hidpp: avoid repeated "multiplier = " log messages Date: Sun, 5 Jul 2020 19:34:57 +0200 Message-Id: <7d2c980f071487cecfd1534adb7561b33d922af3.1593970340.git.mail@maciej.szmigiero.name> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These messages appear each time the mouse wakes from sleep, in my case (Logitech M705), every minute or so. Let's downgrade them to the "debug" level so they don't fill the kernel log by default. While we are at it, let's make clear that this is a wheel multiplier (and not, for example, XY movement multiplier). Fixes: 4435ff2f09a2 ("HID: logitech: Enable high-resolution scrolling on Logitech mice") Cc: stable@vger.kernel.org Signed-off-by: Maciej S. Szmigiero --- Sending again since the previous message bounced for most recipients. drivers/hid/hid-logitech-hidpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 1e1cf8eae649..b8b53dc95e86 100644 --- a/drivers/hid/hid-logitech-hidpp.c +++ b/drivers/hid/hid-logitech-hidpp.c @@ -3146,7 +3146,7 @@ static int hi_res_scroll_enable(struct hidpp_device *hidpp) multiplier = 1; hidpp->vertical_wheel_counter.wheel_multiplier = multiplier; - hid_info(hidpp->hid_dev, "multiplier = %d\n", multiplier); + hid_dbg(hidpp->hid_dev, "wheel multiplier = %d\n", multiplier); return 0; }