Received: by 10.223.176.5 with SMTP id f5csp973905wra; Fri, 2 Feb 2018 09:05:58 -0800 (PST) X-Google-Smtp-Source: AH8x227378b4odErW1niMYK6w7FnVNh9WbGiZREDR9/umhX3LA09uUx1QXadFwGYCFWemIR1WtM1 X-Received: by 10.98.10.25 with SMTP id s25mr2508954pfi.155.1517591158466; Fri, 02 Feb 2018 09:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517591158; cv=none; d=google.com; s=arc-20160816; b=PZJcdfy9Asg1LTKwbheK4EQpSHHTlaKRjMgj9qk/7ayS8cqcgWRiGSS6UHOPBRGEes zENf1yyV4EuCTnHnoJB2X6rNmyP8UaWKnfBswUJVBwHBFgaTiL4RPtz3/Q1meqtMf3bf A1JmecxlSPVnCD4jaKLx1/06cl1qKeUOwn8vDh4PmdHq49/jGghF/jzHMgE7qfJprnjp nVnqzXzLNbocKwtAFPAuWuIz5gKJVM4MtZYYr6sRZIDdSfDy3H9BJzEIGAEtdTubb9Fl 9yEfIahelxc9M8GKu7x1szhg6TVYvpDjrMXc/8aM93R8MObUTUeTngCtjsqHPA0uG0Bi KcEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=PwIPVIk97i8rExDhUBrSssCZSKHB744B3takM1+hZVE=; b=MPJgD0nV5bMAP+pIae3zCaakIl55uBjpOrpsWtrbfqcx9TA1/iRzv9ZLZ6EGB9FJf7 oNy7MfVMJ1FNUqSzMSKSuNZqwX72vIQdfO6BI6LKr2EFovnsrYmJbCdre8Q249jOmEIS c0qn/f0K+9gb7eAZQoTgOzZJ+PC088/mn88jwLcFrBDzCFVjMcdU9zuIdjlx7zy5Kry3 J1eiL9VDddN5bGwY99shBHPDICQOCPwMDczMENoOgrSqF7w+KTH8e5Tg134ge7A7NUaG 6DGGx3bGmNQwsEYu91gLirc5NOxyogcpV2IvruRxy5oD7e+WS4BbzO8XitbQqoeSqacv aA7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24si1673840pgw.394.2018.02.02.09.05.42; Fri, 02 Feb 2018 09:05:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752874AbeBBREf (ORCPT + 99 others); Fri, 2 Feb 2018 12:04:35 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35304 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752743AbeBBRCB (ORCPT ); Fri, 2 Feb 2018 12:02:01 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 715DCDFF; Fri, 2 Feb 2018 17:02:00 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oliver Neukum Subject: [PATCH 4.4 58/67] CDC-ACM: apply quirk for card reader Date: Fri, 2 Feb 2018 17:58:27 +0100 Message-Id: <20180202140821.697319656@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180202140815.091718203@linuxfoundation.org> References: <20180202140815.091718203@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Oliver Neukum commit df1cc78a52491f71d8170d513d0f6f114faa1bda upstream. This devices drops random bytes from messages if you talk to it too fast. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- drivers/usb/class/cdc-acm.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1695,6 +1695,9 @@ static const struct usb_device_id acm_id { USB_DEVICE(0x0ace, 0x1611), /* ZyDAS 56K USB MODEM - new version */ .driver_info = SINGLE_RX_URB, /* firmware bug */ }, + { USB_DEVICE(0x11ca, 0x0201), /* VeriFone Mx870 Gadget Serial */ + .driver_info = SINGLE_RX_URB, + }, { USB_DEVICE(0x22b8, 0x7000), /* Motorola Q Phone */ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */ },