Received: by 10.223.185.116 with SMTP id b49csp6357346wrg; Wed, 28 Feb 2018 08:06:48 -0800 (PST) X-Google-Smtp-Source: AH8x226eyTXrDBHjeN5NBRxYXhrAks++sVTR6X0mHjSkhRyHkXKePcKhCfJHW0qc+bdUanu5ACAA X-Received: by 2002:a17:902:71c9:: with SMTP id t9-v6mr18409558plm.107.1519834008871; Wed, 28 Feb 2018 08:06:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519834008; cv=none; d=google.com; s=arc-20160816; b=U9zAuPnCXrHFsNz3U3QHsHvLKm4rJFI/yhMmfeKHiEzIVl8FZabSkYu/JJYM5BFTVR 4Xv7iy8m18E5bAJelGVK+FxK7WaC+1yQmS8oecNSZQ3YzCblsQ3RUV3AA1SndKNhjHij knovlBK0Nz0rH21+lIrwUw5h7nKfcjgaSwNCssqfVV/FrmGDTEr3ZWddPjRi217mu35J 7OPFTkEJ7GtFcm9R5ciDWqXGzfP3v64Z0LvvhkFqvLNMZf8d3NX8080CDtLsn6TlDUrU u46Rl/eCxMHlJSt0Vkhuf7VdFzHn7sUG7po5gC+gftg84kFCOzyk58XigwgscoaKvaL2 50OA== 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=RbxShw+iZEZ3UQYe/3Kt0AwjWgA1echt/S20FPe3yRw=; b=dKDssa6DKEARkjMZ7oWCcSrTczmNrklJlOsnDnvzBGxrUBIVi1VSjkJwVkE6XhUgo/ 5Eb4ZME3v6hU+jQbG1uuoD6SZpTZXCOaeOx6BvYhjQZypMdIMh8yz9iL71NAnF3JnDct o19RO7xbVdqZ8Xo+mYJReOEUlhcZgTGm5iMjWzhYkycgFr8tuTv3yzWiqhAQdslIX4l1 qOAGmYlwS7qjmGnQ6fBNFAROy8N3p3ADi7Z+Y7nCxVGVpMLlkxzzAq5AiSzjYwDrYGrc s1umnxsFzvo8E4PTBy2M+oRgKP8VYsRm0gyz8ob+tDl8CmpvTifD4OPZJ64tJRTSoDDB AW9A== 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 h67si1391236pfj.11.2018.02.28.08.06.33; Wed, 28 Feb 2018 08:06:48 -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 S934449AbeB1QFF (ORCPT + 99 others); Wed, 28 Feb 2018 11:05:05 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34859 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114AbeB1QFD (ORCPT ); Wed, 28 Feb 2018 11:05:03 -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 1er3Yi-0006Xb-JI; Wed, 28 Feb 2018 15:22:20 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yg-00006E-Oq; Wed, 28 Feb 2018 15:22:18 +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" , "Daniele Palmas" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 116/254] USB: serial: option: add support for Telit ME910 PID 0x1101 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: Daniele Palmas commit 08933099e6404f588f81c2050bfec7313e06eeaf upstream. This patch adds support for PID 0x1101 of Telit ME910. Signed-off-by: Daniele Palmas Signed-off-by: Johan Hovold Signed-off-by: Ben Hutchings --- drivers/usb/serial/option.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -286,6 +286,7 @@ static void option_instat_callback(struc #define TELIT_PRODUCT_LE922_USBCFG3 0x1043 #define TELIT_PRODUCT_LE922_USBCFG5 0x1045 #define TELIT_PRODUCT_ME910 0x1100 +#define TELIT_PRODUCT_ME910_DUAL_MODEM 0x1101 #define TELIT_PRODUCT_LE920 0x1200 #define TELIT_PRODUCT_LE910 0x1201 #define TELIT_PRODUCT_LE910_USBCFG4 0x1206 @@ -658,6 +659,11 @@ static const struct option_blacklist_inf .reserved = BIT(1) | BIT(3), }; +static const struct option_blacklist_info telit_me910_dual_modem_blacklist = { + .sendsetup = BIT(0), + .reserved = BIT(3), +}; + static const struct option_blacklist_info telit_le910_blacklist = { .sendsetup = BIT(0), .reserved = BIT(1) | BIT(2), @@ -1266,6 +1272,8 @@ static const struct usb_device_id option .driver_info = (kernel_ulong_t)&telit_le922_blacklist_usbcfg0 }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910), .driver_info = (kernel_ulong_t)&telit_me910_blacklist }, + { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_ME910_DUAL_MODEM), + .driver_info = (kernel_ulong_t)&telit_me910_dual_modem_blacklist }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910), .driver_info = (kernel_ulong_t)&telit_le910_blacklist }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4),