Skip to content

Commit e13762a

Browse files
maciejsszmigieroJiri Kosina
authored andcommitted
HID: logitech-hidpp: avoid repeated "multiplier = " log messages
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: 4435ff2 ("HID: logitech: Enable high-resolution scrolling on Logitech mice") Cc: stable@vger.kernel.org Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Reviewed-by: Harry Cutts <hcutts@chromium.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 7f02bb6 commit e13762a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/hid-logitech-hidpp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3146,7 +3146,7 @@ static int hi_res_scroll_enable(struct hidpp_device *hidpp)
31463146
multiplier = 1;
31473147

31483148
hidpp->vertical_wheel_counter.wheel_multiplier = multiplier;
3149-
hid_info(hidpp->hid_dev, "multiplier = %d\n", multiplier);
3149+
hid_dbg(hidpp->hid_dev, "wheel multiplier = %d\n", multiplier);
31503150
return 0;
31513151
}
31523152

0 commit comments

Comments
 (0)