Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2343640imm; Thu, 7 Jun 2018 09:05:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKICNtmMt7ADYnHzLEjd1Fp5+CAly/n/5AE/5sGniZGQnRfRvfZjApndLfJHRP15UxOpt/mA X-Received: by 2002:a17:902:5a3:: with SMTP id f32-v6mr2669329plf.109.1528387530321; Thu, 07 Jun 2018 09:05:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528387530; cv=none; d=google.com; s=arc-20160816; b=ZoQXkZBgcRT4STw+S0YH285c1gruYspskO72U54uThnSBDugQXY+UzmFf8RuysHhGl 4mmVrexZ6j7AWPrvEkKsaTmS5Q2K+6MYHvMaD1xyceDz6qepW7HRYlI0VkIsvjYRCsm1 pyx2CVAcXVyusoTpOO6B526I5rIelI8iH52qBlNMbYQi3TYsS4zgYo5Yu8a2DMonE7Hw Mf4u2Kb4IlIVqzRFUg4sirDnfxcxivfznWsmxROx7O1QZuOTn0vM5sNP/10U1aAtpahq 08zm2yJhZrRstzrZ//UUsBJLUnVCCcogTdaDTwXsiYGhhUM3SahLhsE3dHMtkbJvonf8 aadQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=AZDTMsjiJz+pG9Kx12lp92oAtV3ae0cw/NjMK0omtBg=; b=Es1lqGer+AWKvlDf5HUzZUc7aTbeD4usjNIUwHyjcqhxkJvN+9c6rseG/2s+n17kUd UlOIHrn7Qag2GvTsY+crzE+614epuJ8u9GilfR5A6ZogT5v5OBr5wi+Tpou5pHv3mla5 HmlUklkaqp/AaodLtYv5QJ44eo3GOE86cMCCfF/JTC8Dz8J29TC5ZwUoFXQQz6XleBmR D9QuDxDuU2QQemAC+A4+BvBe2rynsnZiJsZ4IZXllS/CwcRLw+RpTZsW57Tf0xyODefc yhEEiFqOS/zISfjDOe8NBXxTsxEiSQSOGDkAKdehSZ8B1+YJ4JsxW1nlC/dxDKV3+i1m fO/Q== 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 t87-v6si14202207pfk.228.2018.06.07.09.05.15; Thu, 07 Jun 2018 09:05:30 -0700 (PDT) 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 S935427AbeFGQAh (ORCPT + 99 others); Thu, 7 Jun 2018 12:00:37 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:39329 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933045AbeFGOJH (ORCPT ); Thu, 7 Jun 2018 10:09:07 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvb7-0005Zv-Jh; Thu, 07 Jun 2018 15:09:05 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb3-0002um-Jf; Thu, 07 Jun 2018 15:09:01 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Greg Kroah-Hartman" , "Oliver Neukum" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 151/410] CDC-ACM: apply quirk for card reader In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 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 Signed-off-by: Ben Hutchings --- 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 @@ -1708,6 +1708,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 */ },