Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3527292pxf; Mon, 15 Mar 2021 11:32:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy37q9/0cY5FKzF8LxyKMv5Or5x197ds2opGrv8OCHOU//zo43Neb/UAgLjTnzc7Ct9+YhO X-Received: by 2002:a05:6402:b48:: with SMTP id bx8mr32639407edb.162.1615833149615; Mon, 15 Mar 2021 11:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833149; cv=none; d=google.com; s=arc-20160816; b=lq2cXlFIIqsvhZt7BSyH0ZeGXl6cFDfC9PjjzbTTXWPJYDRn/CXWDsbGQ3Zq1cnqu+ m9wGURCm39prDs/kZ269GxD1PqQvMQHubPPwhFW6XSR0iwyTVGVg2GaWogIpg/RkewaQ 8IkbmpyL2LqXNtCNT847oQ9LHhRL8GTO5pjUmANly1+tnCOH2BnwQZxKiTrIJ830n4CL SA/Fpod1hYCrswguQxB/elkGTIhXdvcxfrwlACQPqaSFOSFSjpz38exM9CuypX/xVyHd 5G8e9GGX3zg/dewCX2ROgsWm/eAFnBYNrF1ig14zjxGU+cm42EcUqpzHNSHY4fjl4Asa SOwg== 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=b+zGJVCIn4OkKVdj65FXhWnCMfFzXlyqzQY+U0ZILJasSYq0WZ1KIxDc8l+7SPXfAR LkSaEZ7PDwOQCK41ZIVWHrGQYBQqonymVjo2WygP7nLx+fHWlpSmLyAhYahCYqr543FX 5K8uGBTlM3Bt9O5u+3JngVvE/mfWf/Vn+hyqKXN0Cju7M8TC3U/U2KisalZ4p30QRFLy QXvfWq0UZnU23ZatmFBnboGwkdy0Q1d0TcTZ0xraFonyCENQFjA/OTimXUhg1Z6weWjk MsP40jEr7wH5nM/Ry/sQaLZ9YsWw2YvSj6Clu7/3UHREqiOJYZeQ5MFxLTaoXji53hdn aFEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C49nuNHO; 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 n20si11457528ejx.104.2021.03.15.11.32.07; Mon, 15 Mar 2021 11:32:29 -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=C49nuNHO; 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 S236627AbhCOOjV (ORCPT + 99 others); Mon, 15 Mar 2021 10:39:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:48966 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233684AbhCOOCS (ORCPT ); Mon, 15 Mar 2021 10:02:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EFF3164F35; Mon, 15 Mar 2021 14:02:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816935; bh=+JcAoFLgLXKXXxLZloBbxdahgWcsoABDP2DuTfg0MSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C49nuNHO3W4xIRfc4OhkeTE0VKloIGxFbmEfi1spQESJg39RgMdcyH+3DTu9iJvIH bDi5a/qHO+c2rwOFQ3g4Zr7lB0wqbBSJ6reBYpHlk3hqqqHIAt6ZEqOg4pW5MQEE32 Fr4S20v/Trq2yJzVQOx1AP+JxUZzUB7Ez1HwrVn0= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yorick de Wid Subject: [PATCH 5.10 197/290] Goodix Fingerprint device is not a modem Date: Mon, 15 Mar 2021 14:54:50 +0100 Message-Id: <20210315135548.569097771@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135541.921894249@linuxfoundation.org> References: <20210315135541.921894249@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) },