Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4634485ybb; Tue, 24 Mar 2020 02:23:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvFWJrsDqnit01/bXh/CSTCgLn6MT+P6QdvFjD03wOwQc1As4pjZ76RrGaTSUusDksAeuAb X-Received: by 2002:a05:6830:2246:: with SMTP id t6mr4559691otd.163.1585041793271; Tue, 24 Mar 2020 02:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585041793; cv=none; d=google.com; s=arc-20160816; b=G7JHHYS46fhrWp67KNOJ1ctH/pkcpz9L6CiZ4tpdl+xgVS0jjtnwZvsqemeCxKi+JW xjYwVqTKf9Bfpe8/Rm3ksVcIwf8sz8+zTooMWCqlvhGK2Cwc0Rh72+3Yndvb+p9Fss+e R/Sk6abczHhL/W9I6apo9Y9Jr6yDi44Ej/XqnwyWUMEMugNs7kv8lpZ95e4BxCeT1owX mHLO8v0LS9NEf6Dz5QpYVPIEN+wykcpK99Xvd1mlv7sE8fwOzj4kUx98FaUHzVle2hbm 2fIHrcH2yIbTyjgxoMhaXm3tK05PYHXi7fETc8D3eOUZYZrz5SmcfF8/rZUU11NVIyTI 4grw== 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:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qDHSQH6EF59vFu2CoB02DlvePw9hZXaswBE3r0QTlyE=; b=QYu6C3CJoVgPB0/c6MBdpk72qEF/bvafBS2waGWvksad0CGTriEEHMOxTJfHeLSmui 0qZNzX1tihLuoP3/94CiyKaz5IJe1JTxY4+1V4fcfbFmGLXkLXijQRuglPmW0OrupHAW Rzrd5oMGwzTDHcR5+Pnmbj/Zkd4nTNwoEwDfqsRqhr0FPD8nZKoATf/cTxZtub43wfZO jb/yFM9AfFkbHOCty8f+5izWc7MPenlyMZdT14XlJAsNyx+QkOAKb8aWhP6ul4PEY8oj w+Rg4L4Z8MnreshJ+ROOIzH9BHxvxKhkF+sp9R081P2b3TgzaX+8fTCNkCheIDe2zxjg gUGg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si247268otk.309.2020.03.24.02.23.01; Tue, 24 Mar 2020 02:23:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbgCXJWj (ORCPT + 99 others); Tue, 24 Mar 2020 05:22:39 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34610 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbgCXJWj (ORCPT ); Tue, 24 Mar 2020 05:22:39 -0400 Received: by mail-lf1-f66.google.com with SMTP id e7so3591744lfq.1; Tue, 24 Mar 2020 02:22:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qDHSQH6EF59vFu2CoB02DlvePw9hZXaswBE3r0QTlyE=; b=j8yk4Cjn7dxGSjlIEaYXPFZy+8ayMawPfDNh7/sOLp2Wgebj5Wwqwqjo29amxrDboG 1YJ9Isjs/TOKn7oAiVlmKvP2RIpTUtOqFtOzfvBLWgGcibta/9s0xtqRuYFx3r+0+8Of 2oHj3D3CQ8fCd5iIqNtASiRFU6NPe0pDNaQa4eP4ES1phO6oDwUbGqsFbQzKceVCycFx B/KijK2FzHSGLim0oT8ViY9we133xs1u+/nBLKdGTdWJQ5Lg8J/H8lJ1+I2HXuuHliDQ TvMDZRj8IC8wjrWnOvO64dW1cmDnYkOVICV5lGnOnfaIZmfyBQJkv3JctLgIUN/1xX3q Oy7w== X-Gm-Message-State: ANhLgQ3eE3nwL1za7mV7uh7XFOelD6AMAvIR7NCVuK78rqP50TqA8oFP hYZHnoG65ghYhYkYl0R6IMU6fNez X-Received: by 2002:a19:8c3:: with SMTP id 186mr12451840lfi.27.1585041757288; Tue, 24 Mar 2020 02:22:37 -0700 (PDT) Received: from xi.terra (c-12aae455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.170.18]) by smtp.gmail.com with ESMTPSA id w28sm4474515lfl.3.2020.03.24.02.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 02:22:36 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.92.3) (envelope-from ) id 1jGflR-0003lF-L5; Tue, 24 Mar 2020 10:22:25 +0100 Date: Tue, 24 Mar 2020 10:22:25 +0100 From: Johan Hovold To: Pawel Dembicki Cc: Cezary Jackiewicz , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] USB: serial: option: add support for ASKEY WWHC050 Message-ID: <20200324092225.GB5810@localhost> References: <20200320220155.5609-1-paweldembicki@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200320220155.5609-1-paweldembicki@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 20, 2020 at 11:01:52PM +0100, Pawel Dembicki wrote: > ASKEY WWHC050 is a mcie LTE modem. > 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=1690 ProdID=7588 Rev=ff.ff > S: Manufacturer=Android > S: Product=Android > S: SerialNumber=813f0eef6e6e > C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA > I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option > 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=option > 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=option > 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: Cezary Jackiewicz > Signed-off-by: Pawel Dembicki Thanks for the patches, looks good. But who is really the author of patches 1 and 2? You or Cezary? In the first case, you can use the Co-Developed-By tag to give Cezary credit, and otherwise you need to add a From line so that authorship is recorded correctly. Take a look at Documentation/process/submitting-patches.rst. > --- > drivers/usb/serial/option.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c > index 0b5dcf973d94..2f17019d3810 100644 > --- a/drivers/usb/serial/option.c > +++ b/drivers/usb/serial/option.c > @@ -2018,6 +2018,8 @@ static const struct usb_device_id option_ids[] = { > .driver_info = RSVD(4) | RSVD(5) }, > { USB_DEVICE_INTERFACE_CLASS(0x2cb7, 0x0105, 0xff), /* Fibocom NL678 series */ > .driver_info = RSVD(6) }, > + { USB_DEVICE_INTERFACE_CLASS(0x1690, 0x7588, 0xff), /* ASKEY WWHC050 */ > + .driver_info = RSVD(1) | RSVD(4) }, I know the entries here appear to be in mostly random order, but if you're adding numerical ids towards the end, perhaps you can try to insert them in order. > { } /* Terminating entry */ > }; > MODULE_DEVICE_TABLE(usb, option_ids); Johan