Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2291362pxb; Mon, 11 Jan 2021 06:11:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRqA7GWZb/4AQPyd2Q0b2yZmMdfH6W6iZmM28mTt87Fmy3SVDtci3Thp9wj3LXkSZ2pUvI X-Received: by 2002:a05:6402:1d9a:: with SMTP id dk26mr14307970edb.283.1610374304747; Mon, 11 Jan 2021 06:11:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610374304; cv=none; d=google.com; s=arc-20160816; b=HK1rUz1LCRMCxOFvRQ/z4QC4AQMdvvcPT2jduFuLFPPPPG2Gc2KZB8IWBQCuXfHUxj cxt5TrwRZepzV3o8jEnwu6YdEqdbZ0pmpkTB0wqzzw1mBE0K/CibiBONaHGjhn79z6A7 xnIsL2jAi4/Ui2yPD/73KzBG+ZUpwSCXFXzJYVvEpcXL+OQVj3JX0GQDFO6Y3wpyY1G5 W/LEkZR8LtJNGILNKEOpzyKr3DYjTqTl6pZRMrMJDp86bi+qbyISz5VEgvZVxX72Sorb v7k36QAaqSwaaHqXBWmKvIjqwMdpTVHqLUlEgTu2e3sD1rXpVTPX3LrFdPfLY6/TSgwd FtOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=am97IQKL+0PoywY9yLpD2ZH6N7fioaHF/6z8w2vRzao=; b=zQWD04kf2qiInE02Itw/0XluRQ3FYoxVIQ/md3g7i8S9YO4ERz6ZO/+2vdmVDxhIZX I1z6gEd67b8ZhXqE+NC8rkvJHrT/RYjDF+SL7VpNJNteiaSNujtciav4Rl2PYfKRaU7l J7jv93FOOMSRRl0dds9LEJwIHlrcoVUl4S/xcnl9kKx+Ty2vW+YnjwgpJ5Mleya5dZZa CA7D6d+3j/8jInt+WpeLgNpFZnLCAVIhCIj14pM2vkclNZ8ZGr3OrtHxvtKDEQaRsw4+ pG++Ndf7HVzgXxkiU9HrsxvzNBHYX3d+M6cBxgYn/nSSGp4G8ShCmkMvcPojKCYgY+3E JDLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jXujQzVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si6591098ejz.458.2021.01.11.06.11.19; Mon, 11 Jan 2021 06:11:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jXujQzVE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388454AbhAKOGp (ORCPT + 99 others); Mon, 11 Jan 2021 09:06:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:50256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727913AbhAKNDw (ORCPT ); Mon, 11 Jan 2021 08:03:52 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 76CB4229CA; Mon, 11 Jan 2021 13:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370214; bh=+eJ0L/4HpIGssukIMTtHHFinO2kQ8k3icfC4axvStYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jXujQzVERONli+LcZBjFJrMrTntfYkPz7KHIS+Ws0DUkQsxzVZ9kEbH5+9JpTSpCY OSdzbLqglWvU5D5UUjyX9jb6PjHiPtYctj6xWPz8mh5Kw0no8LeWmJKMHzWKJNRQrn giYDUdMrqN4K7QR8C9ptJhyGHnO+yprDOMElAb9A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Palmer , Johan Hovold Subject: [PATCH 4.9 28/45] USB: serial: option: add LongSung M5710 module support Date: Mon, 11 Jan 2021 14:01:06 +0100 Message-Id: <20210111130035.004477391@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130033.676306636@linuxfoundation.org> References: <20210111130033.676306636@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Palmer commit 0e2d6795e8dbe91c2f5473564c6b25d11df3778b upstream. Add a device-id entry for the LongSung M5710 module. T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=2df3 ProdID=9d03 Rev= 1.00 S: Manufacturer=Marvell S: Product=Mobile Composite Device Bus S: SerialNumber= C:* #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=500mA A: FirstIf#= 0 IfCount= 2 Cls=e0(wlcon) Sub=01 Prot=03 I:* If#= 0 Alt= 0 #EPs= 1 Cls=e0(wlcon) Sub=01 Prot=03 Driver=rndis_host E: Ad=87(I) Atr=03(Int.) MxPS= 64 Ivl=4096ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=rndis_host E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0c(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0b(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=89(I) Atr=03(Int.) MxPS= 64 Ivl=4096ms E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0f(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option E: Ad=88(I) Atr=03(Int.) MxPS= 64 Ivl=4096ms E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=0a(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms Signed-off-by: Daniel Palmer https://lore.kernel.org/r/20201227031716.1343300-1-daniel@0x0f.com [ johan: drop id defines, only bind to vendor class ] Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -2043,6 +2043,7 @@ static const struct usb_device_id option { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ .driver_info = RSVD(6) }, { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x01a0, 0xff) }, /* Fibocom NL668-AM/NL652-EU (laptop MBIM) */ + { USB_DEVICE_INTERFACE_CLASS(0x2df3, 0x9d03, 0xff) }, /* LongSung M5710 */ { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1404, 0xff) }, /* GosunCn GM500 RNDIS */ { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1405, 0xff) }, /* GosunCn GM500 MBIM */ { USB_DEVICE_INTERFACE_CLASS(0x305a, 0x1406, 0xff) }, /* GosunCn GM500 ECM/NCM */