Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3522322pxf; Mon, 15 Mar 2021 11:25:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPahHIoMLSVQESgSqmEr4gk8WRPCO2q6f2wM3EIs8Bas08H26+G1U+r5iEgSbEhmoiRbla X-Received: by 2002:aa7:d94c:: with SMTP id l12mr30441022eds.311.1615832751278; Mon, 15 Mar 2021 11:25:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832751; cv=none; d=google.com; s=arc-20160816; b=HPAtX4vK94ZdSiA4OGHNxqRDNkE1qPfu4iAymRH6F24c6zSZlybLstht8zsbD1BVfR r62No+OYCapZ7BeEcX6QTqovllIVH0dE4WGp2KsWkyszEcdNehAJ4hCiHS+wuyshNh6u 8w72N24mZ2PcaRZxdqpjVdtepH1O3oKu9V/obqK7Fx1tnJtpJjW4H1tSZMYSu9zxJOT0 CnqyD4CJzNxf+UQMEo5CRb6qgkjbxhsCEW/Vla7Mj/xMTbsT0KKwL1u0X/Myz3P6K0/+ qIjFi5WQq5Fjv6RYWfMhTKlVcX8zLONxO235G5UoSW24q2gj6DkdDi5zuxhR2molldDN vI3g== 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=KY8mcSJshDPB4O29Idk2M1sYEfcsa1W3hBGVnsTlI1k=; b=NVnOQM7jNYkJlvTSOq/lGrUHXklIKlqXhtE/FKp9d90zL6bMMU2MbYqJkthLOlgWQQ mmoLpRdDag3+xUUzUD3aOcI2WY/eA82E2wF2sOtG0J/gZNXm9c5Laj4QPTzrqVKvPhkQ mAB/b0IxbI6+8whM8Bds7DMDiEwR5TXUVYFQS7k1ZBn0hE34wgFRkvYwuA1knHt/Lt4o XcBqPajJ9QNlCzMUI/q9eeL/ZjV85VXrxgtu9499QEQlQ15yRKp/bno4Hz69B5JbaZv3 6+9qUJsxu/TWJuL/cddd3u5r7UCeGkPGfCIxmW5ypF4f+M5oyDSuJfEYWEFMFnsYhE/x XxSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VBYjHek8; 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 c13si11656985ede.115.2021.03.15.11.25.29; Mon, 15 Mar 2021 11:25:51 -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=VBYjHek8; 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 S234073AbhCOOYi (ORCPT + 99 others); Mon, 15 Mar 2021 10:24:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:37632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232799AbhCON75 (ORCPT ); Mon, 15 Mar 2021 09:59:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 001CC64F2A; Mon, 15 Mar 2021 13:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816778; bh=F8v/l4JLCdnX/eiCX8y5Gw/EUzGL9RdcWID8SrzuYGM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VBYjHek8drdFd5ZTKsOHt85iKyysT22q91GXzZODnx5IBrEd5QHQHuqa61AGbVWnz XKrbu5xVWW5DDlGGUc9brq1TG782GlIhO0oEnw+26ETBVFkdwaHSbS/vnvOcE+3tAa odCtz16wQM7oEqtKPkdecAzQ22aOfpZUU8Jf2oKM= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yorick de Wid Subject: [PATCH 5.4 103/168] Goodix Fingerprint device is not a modem Date: Mon, 15 Mar 2021 14:55:35 +0100 Message-Id: <20210315135553.754818908@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135550.333963635@linuxfoundation.org> References: <20210315135550.333963635@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 @@ -1941,6 +1941,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) },