# git rev-parse -q --verify 044ee890286153a1aefb40cb8b6659921aecb38b^{commit} 044ee890286153a1aefb40cb8b6659921aecb38b already have revision, skipping fetch # git checkout -q -f -B kisskb 044ee890286153a1aefb40cb8b6659921aecb38b # git clean -qxdf # < git log -1 # commit 044ee890286153a1aefb40cb8b6659921aecb38b # Author: Linus Torvalds # Date: Mon Oct 29 11:25:24 2018 -0700 # # HID: input: simplify/fix high-res scroll event handling # # Commit 1ff2e1a44e02 ("HID: input: Create a utility class for counting # scroll events") created the helper function # # hid_scroll_counter_handle_scroll() # # to handle high-res scroll events and also expose them as regular wheel # events. # # But the resulting algorithm was unstable, and causes scrolling to be # very unreliable. When you hit the half-way mark of the highres # multiplier, small highres movements will incorrectly translate into big # traditional wheel movements, causing odd jitters. # # Simplify the code and make the output stable. # # NOTE! I'm pretty sure this will need further tweaking. But this at # least turns a unusable mouse wheel on my Logitech MX Anywhere 2S into # a usable one. # # Cc: Jiri Kosina # Cc: Harry Cutts # Cc: Benjamin Tissoires # Cc: Peter Hutterer # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < git log --format=%s --max-count=1 044ee890286153a1aefb40cb8b6659921aecb38b # < make -s -j 48 ARCH=arm O=/kisskb/build/linus_tct_hammer_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- tct_hammer_defconfig # make -s -j 48 ARCH=arm O=/kisskb/build/linus_tct_hammer_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:341:21: note: 'pdeo' was declared here Completed OK # rm -rf /kisskb/build/linus_tct_hammer_defconfig_arm # Build took: 0:00:26.026776