Received: by 10.223.185.116 with SMTP id b49csp6332688wrg; Wed, 28 Feb 2018 07:43:34 -0800 (PST) X-Google-Smtp-Source: AH8x227hlDTmRL/1nVBjot80kpw1NZoZUKhJiSpNJd9x2GPJGC9a98f4ftENPXGCHc0otzJ7iPgF X-Received: by 2002:a17:902:20e6:: with SMTP id v35-v6mr18324406plg.226.1519832614841; Wed, 28 Feb 2018 07:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519832614; cv=none; d=google.com; s=arc-20160816; b=sZvYn4aOIK7v9ok+KmXpBoMErIGm7+RicdKhr59hNWVquTV3HZ6ZiKipxP8sqtfg8/ vwNdOIVaKJZQvOU4V5Af/F7ngHrYJ/8HuMeWPl1o3CgN3a8oKne9/8MdWZ0raXkDOr6f w1nTR8w3kZML8QQZ1WBJ5eJq1CI5etHCRxQuw1T91Bz27UfbSgwCxDVkkIY5L5adkx/W 1J8I0D/f1GB1ZPvbleAk13rFXJoQft5Hv3fKe0Waaw/RTd5jYJregwwiaeq23WB9+i1p 0jijZPRUODwDb05I5HuQ/2qm8yXx9Ng5ZSgd6JL/Rd3nofzDzqwle3Nrxe9V1rq4R4jc NNgg== 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=3c8cPLxBQQ39wJ9+ilFPCPaio+tJc1W3mAFORlAOMPg=; b=ySlXg4IhwURBlf+tYcdcXgz4KXyHAtBonY5AeBrTGYO45AkQS/ukOMGgb17QlAftve ZSC/O7FURhjWNMWzzeG35+5xwurGuYISeZY3UQjcnIdMHAB16+9qITTPprQlQKp1OMgG OfCZdpZGg92n7IdTCL3wLbYDfC/3GNS2Fy5Os55QswVawd2EQfSeYXev64C69x1g1Xqa UIVHdkSyVqlVU6PCpcw63QYjEVu34PGCgBWZ7QML4ml9iv904lbK8Am1YQDV9n+N73ce pM0t5AvEhjMCUm46alBH8k94nlwm3dwcPYvxc/fz4fRUTUt4rgsFnUgV/AhpwX63xsBT 5ROg== 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 e1-v6si1442163pld.586.2018.02.28.07.43.20; Wed, 28 Feb 2018 07:43:34 -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 S933084AbeB1PjB (ORCPT + 99 others); Wed, 28 Feb 2018 10:39:01 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:33258 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752722AbeB1PWd (ORCPT ); Wed, 28 Feb 2018 10:22:33 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (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 1er3Ye-0006XW-4Y; Wed, 28 Feb 2018 15:22:16 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yd-0008N0-6m; Wed, 28 Feb 2018 15:22:15 +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, "Johan Hovold" , "Sebastian Sjoholm" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 013/254] USB: serial: option: add Quectel BG96 id In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 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.55-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Sebastian Sjoholm commit c654b21ede93845863597de9ad774fd30db5f2ab upstream. Quectel BG96 is an Qualcomm MDM9206 based IoT modem, supporting both CAT-M and NB-IoT. Tested hardware is BG96 mounted on Quectel development board (EVB). The USB id is added to option.c to allow DIAG,GPS,AT and modem communication with the BG96. Signed-off-by: Sebastian Sjoholm Signed-off-by: Johan Hovold Signed-off-by: Ben Hutchings --- drivers/usb/serial/option.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -242,6 +242,7 @@ static void option_instat_callback(struc /* These Quectel products use Quectel's vendor ID */ #define QUECTEL_PRODUCT_EC21 0x0121 #define QUECTEL_PRODUCT_EC25 0x0125 +#define QUECTEL_PRODUCT_BG96 0x0296 #define SIERRA_VENDOR_ID 0x1199 @@ -1204,6 +1205,8 @@ static const struct usb_device_id option .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_EC25), .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, + { USB_DEVICE(QUECTEL_VENDOR_ID, QUECTEL_PRODUCT_BG96), + .driver_info = (kernel_ulong_t)&net_intf4_blacklist }, { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6001) }, { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_CMU_300) }, { USB_DEVICE(CMOTECH_VENDOR_ID, CMOTECH_PRODUCT_6003),