Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3208959pxb; Mon, 9 Nov 2020 05:38:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYfQvNVSb97dHKEDiP+uoHtJtVMl88i5tx8Udnd40KKYO/wll5AyuKFhvoMNxMLdnSG+x2 X-Received: by 2002:a17:906:d8b3:: with SMTP id qc19mr14614498ejb.222.1604929130991; Mon, 09 Nov 2020 05:38:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604929130; cv=none; d=google.com; s=arc-20160816; b=GtfuTR5KZYeYsFKbviDCNoyKPoz23j1DaEIZtYSoGu0hVRR+7ZwvGIy53TIPDkvhPv +P+XJVvqDRpmAMuyPnwH/mmCIY/nIgCMW794jmnDhBA92HEII3YKTV7x4zEXHqGdqhwr 6CEtDnohOefolb/nQs3RO9HE4ub+IqVu5kabqPSOPXEzHE4NKbTwmD1bhAbNyV/AJwkz 58jeWWZeECoAIr5Qs9QuvZmlMXtzGf3HxUktpbp4BFmG9CVHw2VVbl2JNz72AIfIo4qI x/WiLPV7svuxYLb0ZHjFN/WdlMD+bBxBoikx5cBSm5zV57GO0jmOWm10z6VtpxtD+ho3 hvMA== 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=vWkU9IZ1SMJxFJbmJBsbHjCGOuSm8No4pWX4h5WKaWQ=; b=s/H16+cy+hLyRgtzaScLm2AfVmX70bSYTyiWCmNGkSFqzRMYywHS/mLEP61GRBoCyk i0939C+ROBYhj3ki/K5KTHNrT6pvpkHW6w1UZ36oIWcMp6zCicYEOUNcdUJVBV2/7yYK F1rAk6LMr0MdeFOml1DySNtIoNBQQTz0MAbal5VgSFaKzirXk/NcCFnhffRduYb5I4/l ehloKgWExRyJJ+HGBFZ0ePsBRqw62xLAJWmPV//UB3FV8UQsaG1opk9J0GiC8WDmHAxi p4ApSaov+z8prD6aJEXXpHH7MlovIWYy/JHUA/dUymIxB+i9/Rp1IKhbrdP88HucLyxT D0ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Le197qdd; 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=fail (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 s25si6688469ejv.48.2020.11.09.05.38.27; Mon, 09 Nov 2020 05:38:50 -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=@kernel.org header.s=default header.b=Le197qdd; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731192AbgKINfI (ORCPT + 99 others); Mon, 9 Nov 2020 08:35:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:58346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730874AbgKINF3 (ORCPT ); Mon, 9 Nov 2020 08:05:29 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 0424B2076E; Mon, 9 Nov 2020 13:05:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604927128; bh=l6anSHEtzawePlKPuHqUQ05Fhfkezuk2+iq5efPwSyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Le197qddo0TxJc7USz89Q5a9UoCYnL69SVSuItu2hxV+XMT0xi2jNOh5mv8mv0ZiW S5Y1pAR2NAx5Tg9kXexxwQp4Abttuy/hBx9myAJ6b+uq0q8cpu8HWLPWsaZoKBSP02 1unUHlwGVvespPaeg2vpykydbPsRySNkNANyV/iI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Daniele Palmas , Johan Hovold Subject: [PATCH 4.9 113/117] USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231 Date: Mon, 9 Nov 2020 13:55:39 +0100 Message-Id: <20201109125031.061081784@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125025.630721781@linuxfoundation.org> References: <20201109125025.630721781@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: Daniele Palmas commit 489979b4aab490b6b917c11dc02d81b4b742784a upstream. Add following Telit LE910Cx compositions: 0x1203: rndis, tty, adb, tty, tty, tty, tty 0x1230: tty, adb, rmnet, audio, tty, tty, tty, tty 0x1231: rndis, tty, adb, audio, tty, tty, tty, tty Signed-off-by: Daniele Palmas Link: https://lore.kernel.org/r/20201031225458.10512-1-dnlplm@gmail.com [ johan: add comments after entries ] Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1186,6 +1186,8 @@ static const struct usb_device_id option .driver_info = NCTRL(0) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910), .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1203, 0xff), /* Telit LE910Cx (RNDIS) */ + .driver_info = NCTRL(2) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE910_USBCFG4), .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920), @@ -1200,6 +1202,10 @@ static const struct usb_device_id option { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1213, 0xff) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_LE920A4_1214), .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) | RSVD(3) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1230, 0xff), /* Telit LE910Cx (rmnet) */ + .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x1231, 0xff), /* Telit LE910Cx (RNDIS) */ + .driver_info = NCTRL(2) | RSVD(3) }, { USB_DEVICE(TELIT_VENDOR_ID, 0x1260), .driver_info = NCTRL(0) | RSVD(1) | RSVD(2) }, { USB_DEVICE(TELIT_VENDOR_ID, 0x1261),