Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3334559imu; Sun, 11 Nov 2018 12:36:54 -0800 (PST) X-Google-Smtp-Source: AJdET5eXtp2C9D6jJlKHY4Oq2AZjs/c4owaOh0PibdCiF12krs3wntl5uAD//g6CaM+5TuLYIUPK X-Received: by 2002:a17:902:bb0a:: with SMTP id l10-v6mr177625pls.230.1541968614503; Sun, 11 Nov 2018 12:36:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541968614; cv=none; d=google.com; s=arc-20160816; b=HeNKrmt/RFmr0Ur23S/Q53zojloxrrx+6reyTKPH/fcxc+VBESUCAU/EeTbs2uqssp j9DEGvchZ7ThIsdA71N+TjRkTu7Xu5OHIq0cZddeHhwebBEslEGXoOQlZ+c0dgmS/pce obCDhGJ2v7w84TMvFOpUJcmYUFZg4lx9XbAZ5qexHZgzTaxyvIUrkC2D5fQQ31wU9CdM PRPt6T6l4dF9MHij/iMvrPCU1YF2gc+Wa12q977y+CtAt2jwKTDcFcyEbVibwJAr48ay aQ/qkPlXx+X0yely8YTdBTSV4MaAKV5PZMhxaCmHE7xBA5b1UuNPTaS0a6JEWw+YhV5A 8uKg== 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; bh=1cye287GQE6s+x8kv4x1q4mU458mdgTatOVq6jePP/A=; b=ndIebJ9eQ37YvM8nLkO5YUpmOBjBZG0fY69UOcMajl6NqRts6oTWoBHLmOB5QdWRDn Q0tbDv4e6I2XULQ4WWs0ie2GoFgsXxaSU0OZ3dTwLIWhRM1vT8jUPda8trPhHYS2ko7c y8+IhwymfxiKuNSgNxplr9teUN5Nh2CzH9dV0PuK9MDhzjEPprHiGVVSAbxl6rQ9zWl+ D/wpara5xZtSgs4x/9lKGlmcJQfkH2PR3UqYRxIc6NTA++e7QVOoTtzr+nkbRwV1utRV AnvdIC7QySAc18H8Mdi0m+KrfL/amHy1K3G39Qry66xJ4f9nGeV1GwFQ/c8GmmOjY07/ 96oA== 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 o4-v6si13170082pgj.306.2018.11.11.12.36.39; Sun, 11 Nov 2018 12:36:54 -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 S1730384AbeKLGYW (ORCPT + 99 others); Mon, 12 Nov 2018 01:24:22 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:49900 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730194AbeKLFsN (ORCPT ); Mon, 12 Nov 2018 00:48:13 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvsZ-0000lF-4S; Sun, 11 Nov 2018 19:58:43 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsW-0001jY-Me; Sun, 11 Nov 2018 19:58:40 +0000 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, "Oliver Neukum" , "Greg Kroah-Hartman" , "Lubomir Rintel" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 257/366] usb: cdc_acm: Add quirk for Castles VEGA3000 In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 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.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Lubomir Rintel commit 1445cbe476fc3dd09c0b380b206526a49403c071 upstream. The device (a POS terminal) implements CDC ACM, but has not union descriptor. Signed-off-by: Lubomir Rintel Acked-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 @@ -1784,6 +1784,9 @@ static const struct usb_device_id acm_id { USB_DEVICE(0x09d8, 0x0320), /* Elatec GmbH TWN3 */ .driver_info = NO_UNION_NORMAL, /* has misplaced union descriptor */ }, + { USB_DEVICE(0x0ca6, 0xa050), /* Castles VEGA3000 */ + .driver_info = NO_UNION_NORMAL, /* reports zero length descriptor */ + }, { USB_DEVICE(0x2912, 0x0001), /* ATOL FPrint */ .driver_info = CLEAR_HALT_CONDITIONS,