Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3288823ybb; Tue, 31 Mar 2020 02:10:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuE+auLqn1FqhwJ2uTbUIFonV/WxhiroQ14S/R7N/MHxXzNdgykuSvyZWX/3jgPvlt+zQI9 X-Received: by 2002:a4a:3f19:: with SMTP id e25mr12749035ooa.67.1585645841490; Tue, 31 Mar 2020 02:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645841; cv=none; d=google.com; s=arc-20160816; b=SGIYiRQn5itv35B1i9mQUZ+yVCvRDvbZU04ddJv/Lyg0pqw+qcxUanUH/xu0n5mtvC l8mQLU40NlEMGzeDMnbjTdnL/azQciuaV7xccKfPL5/h9hxeju6qyg6Uw4cIWGpXue8u 6bZ0fHRZ6KoSfYmcx5wobRpUhWSUjRYxZli715GSaBWtUyTZjMAdhj5jvys0QFcnz/ur eJOB4XlMHELJzKxlNLrqZoYDCLE4umRjF9MNqQLY58QEmi69fOjNcandU5HWw8ZQdxKe ezL6wBlJL9SUvdDPjwtd0xmp6x7l+iTLK3HT6xc0RM8VCeWEQWpFliHLH0Q77H/R+i0t laoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vC5YDO1p+9tPcQTsUbrYyAIg8YBxB6OZpPfK5a1iOyI=; b=zF1NmkrQd6BWwFp6dqhpCEs6I1IQT/2BrJ6Iae0jhQAzMjPIP/h3pQqIsvmJLbDQMc iY4hPlDXgZ0rWSP9lmbkFB+/vzNKlApwI0q68SJwnuYwh0i6/Y/s/wYYVjtAWZtY9sQ5 NJNX6V1SU4kNe2OsgW3aAIdglLse3ZD4uPOdn7x3G3eBtLNy5R4CRI63CIDarQcNBvqd 4B70IeOPr4L3Ms+i/0J5EKKJkA1VmJpeseXVPrsOK8bJTZYeXMLVCr5WRoWxHAOtvXa8 Wzv0FktVt5V+j2o0PaGmabrWxGNJZqlMtBnVx25LZ90uBy8jy7EomS7ZPE5+m4WUW1Yn dniw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bIAQpXuO; 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 t71si6814079oif.84.2020.03.31.02.10.29; Tue, 31 Mar 2020 02:10:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=bIAQpXuO; 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 S1731185AbgCaJJK (ORCPT + 99 others); Tue, 31 Mar 2020 05:09:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:52100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731202AbgCaJJJ (ORCPT ); Tue, 31 Mar 2020 05:09:09 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BF3C820675; Tue, 31 Mar 2020 09:09:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645749; bh=zKvuJkpvTrMV1DlA6p6mT9CYfcRYC1VBuACGXS7i5uE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bIAQpXuO58Ch/jGVWwLucsgDh4HCqS60XF2C+5HtbCTx8yWrcz8n9nu5CCFuTqVki 9BL4gGUGQUX1RHP/JhltL2OumiWQ089y2iGII2pvlS7QhNAYQWLoKqpmf6g76d+XTK GvFJBtVzIzV1YCbsES6LJdvkFrrO1yzaF4uS/R0U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Pawel Dembicki , Johan Hovold Subject: [PATCH 5.5 151/170] USB: serial: option: add Wistron Neweb D19Q1 Date: Tue, 31 Mar 2020 10:59:25 +0200 Message-Id: <20200331085439.209395122@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pawel Dembicki commit dfee7e2f478346b12ea651d5c28b069f6a4af563 upstream. This modem is embedded on dlink dwr-960 router. The oem configuration states: T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1435 ProdID=d191 Rev=ff.ff S: Manufacturer=Android S: Product=Android S: SerialNumber=0123456789ABCDEF C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none) E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=84(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan E: Ad=88(I) Atr=03(Int.) MxPS= 8 Ivl=32ms E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=125us Tested on openwrt distribution Signed-off-by: Pawel Dembicki Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1992,6 +1992,8 @@ static const struct usb_device_id option { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e01, 0xff, 0xff, 0xff) }, /* D-Link DWM-152/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3e02, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/C1 */ { USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x7e11, 0xff, 0xff, 0xff) }, /* D-Link DWM-156/A3 */ + { USB_DEVICE_INTERFACE_CLASS(0x1435, 0xd191, 0xff), /* Wistron Neweb D19Q1 */ + .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x1690, 0x7588, 0xff), /* ASKEY WWHC050 */ .driver_info = RSVD(1) | RSVD(4) }, { USB_DEVICE_INTERFACE_CLASS(0x2020, 0x2031, 0xff), /* Olicard 600 */