HomeFreeBSD

iichid: The IICHID spec defines the response to the RESET command as two bytes…

Description

iichid: The IICHID spec defines the response to the RESET command as two bytes of zeros.

Our recent changes to iichid.c has caused us to attempt to read a
full REPORT instead, and at least one keyboard hangs solid when we
do that.

This patch changes us to be spec-compliant.

Differential Revision: https://reviews.freebsd.org/D53803
MFC after: 1 day
Approved by: re(ccperciva)

(cherry picked from commit 5d53462af1d0e892da77b52b701b337119b2f5d7)

Details

Provenance
phkAuthored on Tue, Nov 18, 7:22 PM
emasteCommitted on Wed, Nov 19, 6:20 PM
Differential Revision
D53803: IICHID: Reset responses are only two bytes
Parents
rG1f6e3abf4171: inotify: Work around the vput() bug directly
Branches
Unknown
Tags
Unknown