Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2240577imm; Thu, 7 Jun 2018 07:33:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKjOdsmO8n9HdO8hfnbF63emHmQd7f4/G2OBNOqibD/bDdA4nNkfeEGDd5JYAjgQ3YJIp9I X-Received: by 2002:a17:902:654c:: with SMTP id d12-v6mr2308719pln.8.1528382033817; Thu, 07 Jun 2018 07:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528382033; cv=none; d=google.com; s=arc-20160816; b=LmPZa/AIG+cX866ts1uS/DCveR6fk24WTf5fQoYKjrKkJhopqA4K8tt+qG4+xNB0cZ +gZ9S+56BcQzRwcyiATg79pYRKn+3BD2fWzS5mJYPLiqQYT1Jxi0ezPh2bfNGABrHXT5 /QH1HxvOB3kE+jgDkOIIqICo2PMNP0nVS/J47/iRaWvPiwqg9zHrfNjjmpfSww3KGThi OQ3PS2vPAPPvpGvjM3xKGNgwpEilAS/Uo2uhhJz1AywCmxvMcRakhrzK9VyjvoKA17hn IMlG+fUZtK0CBHePsGb7oCN2e8iUtejZke4qT3V9EccRgN5fphWEDI3tqKdbKUe7gs+i 9Ffw== 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=5xI7xttkOqNpSCh+zu6naiZZPYl2YfPIAKLrfLD3j8g=; b=QbbmwKk3YmC+iDv9lFPY0beHY3/xIg18WFFoNYUY2kg0oMwU4HdnKkmy1Ys0NFMx7W vVfW3Pa17hkt9EKoQDGOSsi8xlR8oXoHK3deEninblp1LhX7HVqOKWqH+Hf6FhaUNMh4 bmd78L8QvNtqh+meBH5KRVksWc6+XbKn3uIr9Md0ICyXhXEy+wk66OZSjd5rwtg2HvWu DxakV/0S3rL2TFP/t0ISgmL5vhL/vWPzBF8d0tD67as8psOABEn6S5jeBiqdZYlmpTn3 E2OXR33IVbqnebKobeZHNvXbPY28n+APXQwibYuhB0qtEmHeyFpVxUoq+fOLPsjzC+id 0hdQ== 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 q1-v6si20775066pgs.441.2018.06.07.07.33.39; Thu, 07 Jun 2018 07:33:53 -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 S933507AbeFGOb2 (ORCPT + 99 others); Thu, 7 Jun 2018 10:31:28 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:39392 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932913AbeFGOJI (ORCPT ); Thu, 7 Jun 2018 10:09:08 -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-0005Zr-Jj; Thu, 07 Jun 2018 15:09:05 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb3-0002uc-GZ; 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, "OKAMOTO Yoshiaki" , "Johan Hovold" , "Greg Kroah-Hartman" , "Hiroyuki Yamamoto" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 149/410] usb: option: Add support for FS040U modem 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: OKAMOTO Yoshiaki commit 69341bd15018da0a662847e210f9b2380c71e623 upstream. FS040U modem is manufactured by omega, and sold by Fujisoft. This patch adds ID of the modem to use option1 driver. Interface 3 is used as qmi_wwan, so the interface is ignored. Signed-off-by: Yoshiaki Okamoto Signed-off-by: Hiroyuki Yamamoto Acked-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/option.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -385,6 +385,9 @@ static void option_instat_callback(struc #define FOUR_G_SYSTEMS_PRODUCT_W14 0x9603 #define FOUR_G_SYSTEMS_PRODUCT_W100 0x9b01 +/* Fujisoft products */ +#define FUJISOFT_PRODUCT_FS040U 0x9b02 + /* iBall 3.5G connect wireless modem */ #define IBALL_3_5G_CONNECT 0x9605 @@ -1908,6 +1911,8 @@ static const struct usb_device_id option { USB_DEVICE(LONGCHEER_VENDOR_ID, FOUR_G_SYSTEMS_PRODUCT_W100), .driver_info = (kernel_ulong_t)&four_g_w100_blacklist }, + {USB_DEVICE(LONGCHEER_VENDOR_ID, FUJISOFT_PRODUCT_FS040U), + .driver_info = (kernel_ulong_t)&net_intf3_blacklist}, { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, SPEEDUP_PRODUCT_SU9800, 0xff) }, { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, 0x9801, 0xff), .driver_info = (kernel_ulong_t)&net_intf3_blacklist },