Request wMaxInputLength bytes of data on each interrupt which should
authorjcs <jcs@openbsd.org>
Thu, 26 Aug 2021 21:05:01 +0000 (21:05 +0000)
committerjcs <jcs@openbsd.org>
Thu, 26 Aug 2021 21:05:01 +0000 (21:05 +0000)
commite8835b178a3e9df00c1c1fe0b9875fc5ef5a7854
treede5dbefc54aadccdbf1e4bdee03ccddcc185c241
parent7d0b4a73dcdc0bfac2ee1b56a764878eaa81b8ff
Request wMaxInputLength bytes of data on each interrupt which should
already account for the two-byte length and one-byte report id,
rather than adding them ourself and requesting wMaxInputLength + 3.

Fixes dwiic timeouts requesting data from at least one touchpad.

Tested by various
sys/dev/i2c/ihidev.c