Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3525518pxf; Mon, 15 Mar 2021 11:30:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwllkff1sk6Zygeh8ymhhJXKRFwg84g2faUSYP7S5JXjwUvTnrTL+X4D36GvGPptDWC0XfN X-Received: by 2002:aa7:d841:: with SMTP id f1mr31127793eds.286.1615833010675; Mon, 15 Mar 2021 11:30:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833010; cv=none; d=google.com; s=arc-20160816; b=N4eVPtBuxKteeaczL4muR8UomCAhb/IzKdq1QNi8Ln5yjQdg53gu57eZ8LETgEUQsC acFLNJVxAaDfDWb2f49YesE+H3OivRe/sqA+1W0/vc1sBgMJJfR6+xnW86p20yVD1SW1 ocX/OJyV2xthyFULm1qQ09DAI8uOQ4RQU/v5tCkQvyBJf/uuRkyrCWe4wycMWFEBiZTT anGO92k459Icl08uwTlYX7LSg3QIBIgXsr6KWeXBOkgVpqD5xg2d8LArnkWjGmlpPfug 3Tv6GuEfnDTzcqFTkOdMZfSqs3Lgk51HehCgVNCB+1WLN64bOF7sQxDWoB+LmM7Zv68C dygg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lv6tSyUIh2iOGTZhKdBSObXmwfr3uXQ8eQgWga72hX4=; b=qxu4FQHeG/H8xAIgGNAi4EMtuEVZ9jzGQnafNWr7CBtBJT5JKZCS0vz5Wo4mIHuh3t 1YCPqOBTMXYsk8vzuYJvR6jP44VpJHABgCnHVnfeAM6TSvSpuZ0zNim0Wuqfy32QvP1m ZCoAOSwE1ftV5geGEIddWuCcYUI/5e19DkS/CbPaSDJ2n7SFkDz1X+urW8yqQEkyB9Oi CRJwYDgqdulazL0UmBSDOekSfwDyxMAGVUPVnUv+7/4hH1byAgmyjbczVhKaVA0hzm6n 9AibKwB9N6rDwj2LunKjxBoQyJunkkmIpzMqahZapkY3nm4OmxlQa3Bqd6u5P2tCzCXs hr8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FD/hn6hT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si12092434ejw.423.2021.03.15.11.29.48; Mon, 15 Mar 2021 11:30:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="FD/hn6hT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236194AbhCOOfx (ORCPT + 99 others); Mon, 15 Mar 2021 10:35:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:37582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233480AbhCOOBp (ORCPT ); Mon, 15 Mar 2021 10:01:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5290D64EEA; Mon, 15 Mar 2021 14:01:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816905; bh=+JcAoFLgLXKXXxLZloBbxdahgWcsoABDP2DuTfg0MSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FD/hn6hT70QwPSgilW4va/o71EyFOj+bu9/FSOjhVoGkOHzctqBbATytUtA2DeIwT 43Z9MubjXNunlLzG/RyaCUOhePgatGyplcRH57OZmdYNcCMcuT04PdjdByxSfiCooU RA9Dg7RceIW4rWZy8lmunfnTRl32/0SrsmC2llvo= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yorick de Wid Subject: [PATCH 5.11 193/306] Goodix Fingerprint device is not a modem Date: Mon, 15 Mar 2021 14:54:16 +0100 Message-Id: <20210315135514.144434729@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Yorick de Wid commit 4d8654e81db7346f915eca9f1aff18f385cab621 upstream. 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 Cc: stable Link: https://lore.kernel.org/r/20210213144901.53199-1-ydewid@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/class/cdc-acm.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1929,6 +1929,11 @@ static const struct usb_device_id acm_id .driver_info = SEND_ZERO_PACKET, }, + /* Exclude Goodix Fingerprint Reader */ + { USB_DEVICE(0x27c6, 0x5395), + .driver_info = IGNORE_DEVICE, + }, + /* control interfaces without any protocol set */ { USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ACM, USB_CDC_PROTO_NONE) },