Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3520679pxf; Mon, 15 Mar 2021 11:23:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKNMXKI/2ITtllVgwictEsM5t2Fa8gFk2Zz1EDJycpCS6wHg49NIoLdCKN/qo5z5K3Pmu/ X-Received: by 2002:a17:907:778d:: with SMTP id ky13mr25353823ejc.291.1615832599685; Mon, 15 Mar 2021 11:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832599; cv=none; d=google.com; s=arc-20160816; b=Ho18ekdqGGxVnv1195L4DbJUCamC3Tsy8Dj9VaJNL7y71v+ny/9GCk4pBUi9J84Bul 1wKFKu1LZNWKmviDmGiS2uMUJOWpQH0ThS2gDWANmdYgBBUyB4zU00HaAs9Of3iqOzbW i965fQ3AKngycQV9yEbLa/vdJqPgYLmtP4ifktSEOWtX7NfcgwUqKmD2To44MIdRdoj4 pENLQFLcsidKvFyyFF4TAqq+fBB9bb9g/8x789z6WtkJNKlZnyobJUt5aoXueDBT0/b7 ZwSa2plJG1lGxLuuqDRCSzmO0byvcewlU/gTakvM5ZDUT0Z6BGuuf+su3tkMiU0jp30T lf/g== 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=pTgec+BINnah/Ef985Ak94dXRJU8eRMYIhiaCz2/Qx4=; b=ZfBcjBbg2MQnRIIXse11a26ATSko6UN/t2PQHZrFc9iReKP0tO8Y5G1RnxX79m05N/ 2bFI3y6r3O9fSH1AiUgQGHFH/9GC9KUSgneVE+mf/4Frb9/0+EardNyX2/qBCwhA9fq3 LTosIeGEAMNbXi4BxMD/9CYswaL3y6rDShXRh4Dc7a1InUwEsTMwSkB61FgIsuoVR0ws fwG5w6BciVz/jTTuhMCQCSlA3ovKKuCtv4O9JR1EtZCkMtyshypGHXHnweXI27Toq/1t HFROZ67WZKn+MRYdOb+Rqshi0iUEox3pQTpjZ2OfN6CA3BaczZ6yzSikGfGG6fSzR6g3 nAGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=T56KSzh6; 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 n3si4087118edo.368.2021.03.15.11.22.57; Mon, 15 Mar 2021 11:23:19 -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=T56KSzh6; 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 S233771AbhCOOVs (ORCPT + 99 others); Mon, 15 Mar 2021 10:21:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:37476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232897AbhCOOAG (ORCPT ); Mon, 15 Mar 2021 10:00:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AB36B64F2B; Mon, 15 Mar 2021 13:59:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816791; bh=A4y2DAvk4lp+gOnqxDJEAlRf/d/XyJVYKwHFG9clOgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T56KSzh6DiVdPN81zH0jn5VvnmKJrzxC4X57NoMmth8mrzcKUGNmYqdTscry70ZOU 2tdefmo1PzrZg4OZRlQa41KfdSJGuvsEM+hD6AWuFoXqELHOgM5SgiADuiXHsfFOUB CL5DXBppOBZ0mQEF1kqjdaMBZDYkNXPV1X2Adl5w= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Yorick de Wid Subject: [PATCH 4.19 070/120] Goodix Fingerprint device is not a modem Date: Mon, 15 Mar 2021 14:57:01 +0100 Message-Id: <20210315135722.267621306@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135720.002213995@linuxfoundation.org> References: <20210315135720.002213995@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 @@ -1973,6 +1973,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) },