Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2270523pxb; Mon, 11 Jan 2021 05:41:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqa5jp3qdZ/Rptrk2KXh+NLIc8elqakfFtnyv74DfWCpQ3/wCG/3KZXesLPEWhiOkDOn0K X-Received: by 2002:aa7:c919:: with SMTP id b25mr13504516edt.108.1610372461453; Mon, 11 Jan 2021 05:41:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610372461; cv=none; d=google.com; s=arc-20160816; b=P6nCjQdbU43C4mrIwNWg+l065CpBsMEhF8SWvibiJ8/JVeiThK3X7N0OxLRBqZP5Mi ROT1LDxJaCNIZSuszfd67zFz3Xuu+1S5I3q6pzIfQnGVecLRZsUmrtnihaNrZ5NBFhKs gqZfmC2Fi9uceXMdM4M0jGfrBtIhbhzC9Bg49TXKonMGYGMwKwkTts5dpl9ygfn4orwT FE72//69gpTRcdM1aehB+zpNjyTpXaKWAGm1g+dxcpXV6dsDci9f4hMIaiLQJ2Hom3Ox D5Ee4UEXYu/LzM4I3XQZB3cGIRG08EOAbhf6lYPY3GL1w5EqMaxWeZriq+lRsBokgewa kFWg== 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=suT4DjU1GpHu0/TsB2HURRblzBosYcf0otHnQxBD8Ow=; b=QhNYUKnh0FMZsQQN67OVdnyXMur+q4KTex4u7GESy66WFVo3GW0p5gUL9PjE1bmPx9 c+t+IbnbX+FjqXBx/wM+U05XzZggPM+tpXlsk7amFhLXpT61tjZsYZUO8lS1WdL8r7dj MYa0OFx82qsm3kLC8CreSFGpZiqW78K4RnnsBEiO2JcJhop2etCVgOlSYV0Mf6P9LfMU rCeA/UR7M6EbPW6OeMpcjP6lcW4dS2S/RhIMmcRyOrW7ghF85RCVIIZkWwhv+rpyXr9z WGwMGGAyWxXNAl3esjhzyjdpIt1u/ETpfkSpAznSrAHyH6DCVoKFEPj0YBPtMUrG66H4 GttQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="2A6/x1In"; 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 y12si6475584ejb.78.2021.01.11.05.40.35; Mon, 11 Jan 2021 05:41:01 -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="2A6/x1In"; 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 S1731542AbhAKNif (ORCPT + 99 others); Mon, 11 Jan 2021 08:38:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:59308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731581AbhAKNNF (ORCPT ); Mon, 11 Jan 2021 08:13:05 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7CA3E2225E; Mon, 11 Jan 2021 13:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370770; bh=LvbmAEcajM6WWT5dJpUfwU7h5n32yfVgglKatLMhJO4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2A6/x1InsEUOH5CQW7O1/iCkRuWEWzYDFOYzaT5TGnMOtF8rp9r+DsnNCSUdasOwh euNg+r+p6ke0+qPzOD4M5MeDcIZm885rLa3usDTNL82yqE6E4muvuuRFt+rNtIuN+8 68t7UdcQSTXlEb03G5DE7sTZljcYgCZnpSCrAlvw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniel Palmer , Johan Hovold Subject: [PATCH 5.4 62/92] USB: serial: option: add LongSung M5710 module support Date: Mon, 11 Jan 2021 14:02:06 +0100 Message-Id: <20210111130042.139372236@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130039.165470698@linuxfoundation.org> References: <20210111130039.165470698@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 @@ -2057,6 +2057,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 */