Date: Sat, 25 Mar 2017 05:41:34 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315930 - stable/11/sys/dev/usb/input Message-ID: <201703250541.v2P5fZAT012088@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: grehan Date: Sat Mar 25 05:41:34 2017 New Revision: 315930 URL: https://svnweb.freebsd.org/changeset/base/315930 Log: MFC r315716 Bring the handling of the y axis in the ums driver in-line with the other axes. No functional change. Modified: stable/11/sys/dev/usb/input/ums.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/dev/usb/input/ums.c ============================================================================== --- stable/11/sys/dev/usb/input/ums.c Sat Mar 25 05:21:49 2017 (r315929) +++ stable/11/sys/dev/usb/input/ums.c Sat Mar 25 05:41:34 2017 (r315930) @@ -283,7 +283,7 @@ ums_intr_callback(struct usb_xfer *xfer, if ((info->sc_flags & UMS_FLAG_Y_AXIS) && (id == info->sc_iid_y)) - dy = -hid_get_data(buf, len, &info->sc_loc_y); + dy -= hid_get_data(buf, len, &info->sc_loc_y); if ((info->sc_flags & UMS_FLAG_Z_AXIS) && (id == info->sc_iid_z)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703250541.v2P5fZAT012088>