]> git.baikalelectronics.ru Git - kernel.git/commit
Goodix Fingerprint device is not a modem
authorYorick de Wid <ydewid@gmail.com>
Sat, 13 Feb 2021 14:49:02 +0000 (15:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:36:12 +0000 (09:36 +0100)
commitd29235bee8bb2861ca1228349e307fecc5d2a45b
tree69c00638264f40c9a4f1b975a94bae9641c6d7c8
parent1b8bd930b05ba1f659bccfc6ef406e93916f57ed
Goodix Fingerprint device is not a modem

The CDC ACM driver is false matching the Goodix Fingerprint device
against the USB_CDC_ACM_PROTO_AT_V25TER.

The Goodix Fingerprint device is a biometrics sensor that should be
handled in user-space. libfprint has some support for Goodix
fingerprint sensors, although not for this particular one. It is
possible that the vendor allocates a PID per OEM (Lenovo, Dell etc).
If this happens to be the case then more devices from the same vendor
could potentially match the ACM modem module table.

Signed-off-by: Yorick de Wid <ydewid@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210213144901.53199-1-ydewid@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c